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:
parent
63d2903a36
commit
b948f2e84d
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue