51 lines
2.3 KiB
PHP
51 lines
2.3 KiB
PHP
<?PHP
|
|
//dirLISt v 0.1.1 configuration file
|
|
//= = = = = = = = = = = = = = = = = = = = = = = = = =
|
|
//U S E R C O N F I G U R A T I O N
|
|
//= = = = = = = = = = = = = = = = = = = = = = = = = =
|
|
|
|
//Listing mode. 0:HTTP directory Listing 1:FTP directory listing
|
|
$listing_mode = 0;
|
|
|
|
//FTP credentials
|
|
$ftp_host = '';
|
|
$ftp_username = '';
|
|
$ftp_password = '';
|
|
|
|
//Directory to browse ***INCLUDING TRAILING SLASH***. Leave it as "./" if you want to browse the directory this file is in fot HTTP listing or leave it blank for browsing the root directory for FTP listing.
|
|
$dir_to_browse = "./"; //default[HTTP] = "./" or default[FTP] = ""
|
|
|
|
//Files and/or folders to exclude from listing. This main file (lister) is automatically excluded.
|
|
$exclude = array('.','..','.ftpquota','.htaccess', 'dirLIST_files');
|
|
|
|
//Files to exclude based on extension (eg: '.jpg' or '.PHP') and weather to be case sensative. 1:Enable 0:Disable
|
|
$exclude_ext = array('.php');
|
|
$case_sensative_ext = 0; //default = 1
|
|
|
|
//Statistics/legend/load time. 1:Enable 0:Disable
|
|
$statistics = 0; //default = 1
|
|
$legend = 0; //default = 1
|
|
$load_time = 0; //default = 1
|
|
|
|
//Show folder size? Disabling this will greatly improve performance if there are several hundred folders/files. However, size of folders wont show. Also note that if the listing mode is FTP, enabling folder size will very likeyly cause a script timeout. 1:Enable 0:Disable
|
|
$show_folder_size_http = 1; //default = 1
|
|
$show_folder_size_ftp = 0; //default = 0
|
|
|
|
//Alternating row colors. EG: "#CCCCCC"
|
|
$color_1 = "#66CC33"; //default = #E8F8FF
|
|
$color_2 = "#99CC33"; //default = #66CC33
|
|
$folder_color = "#CCCCCC"; //default = #CCCCCC
|
|
|
|
//Table formatting
|
|
$top_row_bg_color = "#669966"; // default = #006699
|
|
$top_row_font_color = "#FFFFFF"; //default = #FFFFFF
|
|
$width_of_files_column = "450"; //value in pixles. default = 450
|
|
$width_of_sizes_column = "100"; //value in pixles. default = 100
|
|
$width_of_dates_column = "100"; //value in pixles. default = 100
|
|
$cell_spacing = "3"; //value in pixles. default = 5
|
|
$cell_padding = "2"; //value in pixles. default = 5
|
|
|
|
//= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
|
|
//U S E R C O N F I G U R A T I O N - D O N E
|
|
//= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
|
|
?>
|