SOURCES: AutoIndex.php - exclude backups and dotfiles from listing...
glen
glen at pld-linux.org
Sat Sep 10 13:39:46 CEST 2005
Author: glen Date: Sat Sep 10 11:39:46 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- exclude backups and dotfiles from listing
- use full url and paths to files for index file to be require()-d
---- Files affected:
SOURCES:
AutoIndex.php (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/AutoIndex.php
diff -u SOURCES/AutoIndex.php:1.1 SOURCES/AutoIndex.php:1.2
--- SOURCES/AutoIndex.php:1.1 Sat Sep 10 13:38:31 2005
+++ SOURCES/AutoIndex.php Sat Sep 10 13:39:41 2005
@@ -11,8 +11,8 @@
/* Required settings: */
$base_dir = './';
-$icon_path = 'index_icons/winxp';
-$stylesheet = 'stylesheet.css';
+$icon_path = '/index/index_icons/winxp';
+$stylesheet = '/index/stylesheet.css';
/* Optional settings: */
@@ -41,7 +41,10 @@
"index_icons",
"languages",
"*.php",
- ".ht*");
+ ".ht*",
+ "*~",
+ ".*",
+);
$show_only_these_files = array();
$force_download = true;
$bandwidth_limit = 0;
@@ -60,7 +63,7 @@
$show_type_column = false;
$show_size_column = true;
$show_date_column = true;
-$path_to_language_files = './languages/';
+$path_to_language_files = '/usr/share/AutoIndex/languages/';
$lang = 'en';
$select_language = false;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/AutoIndex.php?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list