diff --git a/conf/noalyss.conf b/conf/noalyss.conf index 75f4a19..be813bf 100644 --- a/conf/noalyss.conf +++ b/conf/noalyss.conf @@ -12,7 +12,7 @@ define ("noalyss_psql_host","localhost"); // If you change the NOALYSS_ADMINISTRATOR , you will need to rerun http://..../noalyss/html/install.php // But it doesn't change the password -define ("NOALYSS_ADMINISTRATOR","admin"); +define ("NOALYSS_ADMINISTRATOR","__ADMIN__"); // used only for install define ("NOALYSS_ADMIN_PASSWORD",""); define ("LOCALE",1); diff --git a/scripts/install b/scripts/install index 79f0cc1..0434e5f 100755 --- a/scripts/install +++ b/scripts/install @@ -139,6 +139,7 @@ cp ../conf/noalyss.conf $final_path/include/config.inc.php ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$final_path/include/config.inc.php" ynh_replace_string --match_string="__DB_PASS__" --replace_string="$db_pwd" --target_file="$final_path/include/config.inc.php" +ynh_replace_string --match_string="__ADMIN__" --replace_string="$admin" --target_file="$final_path/include/config.inc.php" #================================================= # STORE THE CONFIG FILE CHECKSUM