diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/translations/en.ini b/code/ryzom/tools/server/ryzom_ams/ams_lib/translations/en.ini index b7c44044e..586d49241 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/translations/en.ini +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/translations/en.ini @@ -2,7 +2,7 @@ ; Comments start with ';', as in php.ini [install] -login_info = "Please enter your MySQL Username and Password to install the database.
This is being loaded because config.php is missing.
This process will take about 30 seconds." +login_info = "Please enter your MySQL Username and Password to install the database.
This is being loaded because the is_installed file is missing.
This process will take about 30 seconds." login_here = "here" [dashboard] 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 781c6cc53..d2f830904 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 ($_POST["function"] == "do_install") { +} elseif (isset($_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 {