Skip to content

Commit 6099604

Browse files
author
vogelor
committed
fixed a small bug in including user-defined config-files
1 parent 838bc25 commit 6099604

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

install/tpl/config.inc.php.master

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,5 @@ define("LOGLEVEL_ERROR",2);
154154
//** IMPORTANT!!!
155155
//** DO NOT MAKE A COPY OF THIS FILE AS LOCAL CONFIG-FILE
156156
//** USE A EMPTY FILE AND ONLY COPY THE SETTINGS IN IT, YOU NEED TO OVERRIDE
157-
if (is_file('config.inc.local.php')) include_once 'config.inc.local.php';
158-
157+
if (is_file(dirname(__FILE__) . '/config.inc.local.php')) include_once 'config.inc.local.php';
159158
?>

0 commit comments

Comments
 (0)