mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-02 22:03:13 +02:00
if exist include config.php #366
This commit is contained in:
parent
1dbe7c5339
commit
0a92002919
|
@ -131,7 +131,7 @@ $ip_blacklist = array(
|
|||
);
|
||||
|
||||
// if User has the customized config file, try to use it to override the default config above
|
||||
$config_file = 'config.php';
|
||||
$config_file = './config.php';
|
||||
if (is_readable($config_file)) {
|
||||
@include($config_file);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue