1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00
This commit is contained in:
Éric Gaspar 2023-12-27 13:48:16 +01:00
parent 876cbed4fa
commit c071139a87
2 changed files with 4 additions and 4 deletions

View file

@ -89,10 +89,10 @@ ynh_local_curl "/install.php?language=$applanguage" "install=true" "dbhost=127.0
ynh_script_progression --message="Configuring Piwigo..."
# Change local config
ynh_add_config --template="../conf/config.inc.php" --destination="$install_dir/local/config/config.inc.php"
ynh_add_config --template="config.inc.php" --destination="$install_dir/local/config/config.inc.php"
# Setup database in local/config/database.inc.php
ynh_add_config --template="../conf/database.inc.php" --destination="$install_dir/local/config/database.inc.php"
ynh_add_config --template="database.inc.php" --destination="$install_dir/local/config/database.inc.php"
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"

View file

@ -102,10 +102,10 @@ fi
ynh_script_progression --message="Configuring Piwigo..."
# Change local config
ynh_add_config --template="../conf/config.inc.php" --destination="$install_dir/local/config/config.inc.php"
ynh_add_config --template="config.inc.php" --destination="$install_dir/local/config/config.inc.php"
# Setup database in local/config/database.inc.php
ynh_add_config --template="../conf/database.inc.php" --destination="$install_dir/local/config/database.inc.php"
ynh_add_config --template="database.inc.php" --destination="$install_dir/local/config/database.inc.php"
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"