From 395503bed1f580f9729e3846a4a8d44cbf5c924b Mon Sep 17 00:00:00 2001 From: botanic Date: Mon, 16 Dec 2013 23:14:24 -0800 Subject: [PATCH] helps if i use the right file... --- code/ryzom/tools/server/ryzom_ams/www/html/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/tools/server/ryzom_ams/www/html/index.php b/code/ryzom/tools/server/ryzom_ams/www/html/index.php index 906935afa..781c6cc53 100644 --- a/code/ryzom/tools/server/ryzom_ams/www/html/index.php +++ b/code/ryzom/tools/server/ryzom_ams/www/html/index.php @@ -14,8 +14,8 @@ error_reporting(E_ALL); ini_set('display_errors', 'on'); require_once( '../../ams_lib/libinclude.php' ); -if (!@include '../config.php') { - //if config doesnt exist run setup +if (!file_exists('../is_installed')) { + //if is_installed doesnt exist run setup require( 'installer/libsetup.php' ); } elseif ($_POST["function"] == "do_install") { echo "Can't run setup while file '../is_installed' exists, please remove that file if you wish to run the install";