From 563bb424c64f1db5fe56398db2d32a4039e50a9d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 28 Nov 2020 12:17:10 +0100 Subject: [PATCH] Fix --- conf/noalyss.conf | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/noalyss.conf b/conf/noalyss.conf index 4f01960..a0c3e2c 100644 --- a/conf/noalyss.conf +++ b/conf/noalyss.conf @@ -14,7 +14,7 @@ define ("noalyss_psql_host","localhost"); // But it doesn't change the password define ("NOALYSS_ADMINISTRATOR","__ADMIN__"); // used only for install -define ("NOALYSS_ADMIN_PASSWORD","__PASSWORD__"); +define ("NOALYSS_ADMIN_PASSWORD",""); define ("LOCALE",1); define ("domaine","__DOMAIN__"); define ("MULTI",1); diff --git a/scripts/install b/scripts/install index 07dfc98..980b993 100755 --- a/scripts/install +++ b/scripts/install @@ -131,7 +131,7 @@ phpversion=$(ynh_app_setting_get --app="$app" --key=phpversion) # # Remove the `install.php` directory from within the Noalyss installation path. # # The scripts within this directory should not be accessible on a live Noalyss site # # or on any installation that is accessible via the Internet. -ynh_secure_remove "$final_path/html/install.php" +#ynh_secure_remove "$final_path/html/install.php" # # Set the user chosen at installation as administrator # #ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" <<< "UPDATE ${db_name}_user_table SET username = '$admin' WHERE id = 1;"