1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hubzilla_ynh.git synced 2024-09-03 19:26:21 +02:00

We need a new config file

This commit is contained in:
dragondaddy 2024-01-29 20:34:22 +01:00
parent d2c7ebeaf0
commit 0095d3750a
2 changed files with 7 additions and 7 deletions

View file

@ -88,7 +88,7 @@ App::$config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL;
// or change the name (below) to a file/path where this is allowed.
// Uncomment the following 4 lines to turn on PHP error logging.
error_reporting(E_ERROR | E_WARNING | E_PARSE );
error_reporting(E_ERROR | E_PARSE );
ini_set('error_log','php.log');
ini_set('log_errors','1');
ini_set('display_errors', '0');

View file

@ -82,7 +82,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --keep="store/ .htconfig.php php.log"
ynh_setup_source --dest_dir="$install_dir" --keep="store/ php.log"
ynh_setup_source --dest_dir="$install_dir/addon" --source_id="addons"
fi
@ -109,14 +109,14 @@ ynh_add_nginx_config
#=================================================
# UPDATE A CONFIG FILE
#=================================================
# ynh_script_progression --message="Updating a configuration file..." --weight=1
ynh_script_progression --message="Updating a configuration file..." --weight=1
# ynh_add_config --template="htconfig.sample.php" --destination="$install_dir/.htconfig.php"
ynh_add_config --template="htconfig.sample.php" --destination="$install_dir/.htconfig.php"
# ynh_store_file_checksum --file=$install_dir/.htconfig.php
ynh_store_file_checksum --file=$install_dir/.htconfig.php
# chmod 600 "$install_dir/.htconfig.php"
# chown $app:$app "$install_dir/.htconfig.php"
chmod 600 "$install_dir/.htconfig.php"
chown $app:$app "$install_dir/.htconfig.php"
#=================================================
# UPGRADE CRON JOB