From f7aa4d9fe7c44250028b67d17a0d66b189c558d5 Mon Sep 17 00:00:00 2001 From: botanic Date: Mon, 16 Dec 2013 23:38:24 -0800 Subject: [PATCH] a positive and a negative is supposted to be NEGATIVE stupid php --- code/ryzom/tools/server/ryzom_ams/www/html/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d2f830904..faf3488c6 100644 --- a/code/ryzom/tools/server/ryzom_ams/www/html/index.php +++ b/code/ryzom/tools/server/ryzom_ams/www/html/index.php @@ -17,7 +17,7 @@ require_once( '../../ams_lib/libinclude.php' ); if (!file_exists('../is_installed')) { //if is_installed doesnt exist run setup require( 'installer/libsetup.php' ); -} elseif (isset($_POST["function"]) == "do_install") { +} elseif (isset($_POST["function"]) && $_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"; exit; } else {