diff --git a/configs/default.php b/configs/default.php index d7ca3a2..e909ebd 100644 --- a/configs/default.php +++ b/configs/default.php @@ -1,24 +1,26 @@ '', #Secret key for cookie encryption 'download_dir' => 'files/', # This is where your downloaded files are saved 'download_dir_is_changeable' => false, # true - Allow users to change the download dir 'delete_delay' => 0, # 0 - Disabled, time in SECONDS before downloaded files are deleted 'rename_prefix' => '', # i.e : prefix_filename.ext 'rename_suffix' => '', # i.e : filename_suffix.ext 'rename_underscore' => true, # true, replace spaces for underscores in file names -'bw_save' => true, # Bandwidth Saving +'bw_save' => false, # Bandwidth Saving 'file_size_limit' => 0, # 0 - Disabled, limit file size in MiB +'auto_download_disable' => false, # true - Disable auto download feature +'auto_upload_disable' => false, # true - Disable auto upload feature +'notes_disable' => false, # true - Disable notes feature 'upload_html_disable' => false, # true - Disable *.upload.html creation 'myuploads_disable' => false, # true - Disabled, limit file size in MiB //Authorization 'login' => false, # false - Authorization mode is off, true - on 'users' => array('test' => 'test'), # false - Authorization mode is off, enter the username and password in the given way -'login_cgi' => false, # true - Will try to workaround CGI authorization //Presentation 'template_used' => 'plugmod', 'default_language' => 'en', @@ -47,19 +49,20 @@ 'disable_unzip' => false, 'disable_rar' => false, 'disable_unrar' => false, -'disable_md5' => false, +'disable_hashing' => false, 'disable_md5_change' => false, 'disable_list' => false, //Advanced +'use_curl' => true, # true - Will use curl instead stream socket client(especially in ssl connection), disable this if filehost refuse data sended by curl. Need curl exec/extension enable in your server +'redir' => true, # true - Redirect passive method +'no_cache' => true, # true - Prohibition by Browser; otherwise allowed +'ref_check' => true, # true - Disallow downloads from external referers. In some hosts this check may give false positives, disable if it doesn't let you download. '2gb_fix' => true, # true - Try to list files bigger than 2gb on 32 bit o.s. 'forbidden_filetypes' => array('.htaccess', '.htpasswd', '.php', '.php3', '.php4', '.php5', '.phtml', '.asp', '.aspx', '.cgi'), # Enter the forbidden filetypes in the given way -'forbidden_filetypes_block' => false, # false - rename forbidden_filetypes, true - completely block them +'forbidden_filetypes_block' => false, # false - rename forbidden_filetypes, true - completely block them 'rename_these_filetypes_to' => '.xxx', # If forbidden_filetypes_block = false then rename those filetypes to this 'check_these_before_unzipping' => true, # true - Don't allow extraction/creation of these filetypes from file actions -'no_cache' => true, # true - Prohibition by Browser; otherwise allowed -'images_via_php' => false, # true - RapidShare images are downloaded through the script, but it requires ssl support; turn it off if you can't see the image. -'redir' => true, # true - Redirect passive method 'fgc' => 0 ); /*Default Options End*/ -?> \ No newline at end of file +?>