1
0
mirror of https://github.com/prasathmani/tinyfilemanager.git synced 2025-08-07 09:17:29 +02:00

Added Optional configuration file (#338)

* Added optional configuration file loading

* First commit of optional configuration file

This file is OPTIONAL.
If this file is not present in your webserver, tinyfilemanager will works with its internal configuration.

* removed define

define is not a configuration
This commit is contained in:
TheFax
2020-05-24 05:20:49 +02:00
committed by GitHub
parent 0826838917
commit 5903849388
2 changed files with 124 additions and 0 deletions

View File

@@ -137,6 +137,12 @@ $ip_blacklist = array(
'::' // non-routable meta ipv6
);
// Load configuration file, if present
$config_file = 'h3k_config.php';
if (is_readable($config_file)) {
include($config_file);
}
// --- EDIT BELOW CAREFULLY OR DO NOT EDIT AT ALL ---
// Set the max upload file size