From af3248371865f7d56b2afa1c7195f5f7f71619f1 Mon Sep 17 00:00:00 2001 From: botanic Date: Sat, 14 Dec 2013 19:34:07 -0800 Subject: [PATCH] fix for new install --- .../tools/server/ryzom_ams/www/html/installer/libsetup.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/ryzom/tools/server/ryzom_ams/www/html/installer/libsetup.php b/code/ryzom/tools/server/ryzom_ams/www/html/installer/libsetup.php index 90df91532..cdc19ed28 100644 --- a/code/ryzom/tools/server/ryzom_ams/www/html/installer/libsetup.php +++ b/code/ryzom/tools/server/ryzom_ams/www/html/installer/libsetup.php @@ -23,7 +23,7 @@ error_reporting( E_ALL ); if (file_exists('../config.php')) { - require( '../config.php' ); + require_once( '../config.php' ); } else { //copy config.default.php to config.php! if (!file_exists('../config.php')) { @@ -31,6 +31,8 @@ echo "failed to copy ../config.php ...\n"; echo '
Reload! '; exit; + } else { + require_once( '../config.php' ); } } }