From 0a920029199d88a402a5375edba30559dba13d23 Mon Sep 17 00:00:00 2001 From: Prasath Mani Date: Sun, 24 May 2020 17:07:17 +0530 Subject: [PATCH] if exist include config.php #366 --- tinyfilemanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinyfilemanager.php b/tinyfilemanager.php index 40bac98..eb5cc20 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -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); }