1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/noalyss_ynh.git synced 2024-09-03 19:46:20 +02:00

Add admin

This commit is contained in:
ericgaspar 2020-11-28 13:23:34 +01:00
parent 63d2903a36
commit b948f2e84d
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 2 additions and 1 deletions

View file

@ -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 // If you change the NOALYSS_ADMINISTRATOR , you will need to rerun http://..../noalyss/html/install.php
// But it doesn't change the password // But it doesn't change the password
define ("NOALYSS_ADMINISTRATOR","admin"); define ("NOALYSS_ADMINISTRATOR","__ADMIN__");
// used only for install // used only for install
define ("NOALYSS_ADMIN_PASSWORD",""); define ("NOALYSS_ADMIN_PASSWORD","");
define ("LOCALE",1); define ("LOCALE",1);

View file

@ -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_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="__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 # STORE THE CONFIG FILE CHECKSUM