1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
This commit is contained in:
Éric Gaspar 2022-06-06 12:14:31 +02:00
parent a02bf67237
commit c51a44dc2d
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 5 additions and 5 deletions

View file

@ -43,7 +43,7 @@ define('MAIL_BCC', '');
define('MAIL_TRANSPORT', 'mail');
// SMTP configuration to use when the "smtp" transport is chosen
define('MAIL_SMTP_HOSTNAME', '');
define('MAIL_SMTP_HOSTNAME', 'localhost');
define('MAIL_SMTP_PORT', 25);
define('MAIL_SMTP_USERNAME', '');
define('MAIL_SMTP_PASSWORD', '');

View file

@ -121,10 +121,10 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
ynh_script_progression --message="Configuring Kanboard..."
dir="__DIR__"
ynh_add_config --template="../conf/config.php" --destination="$final_path/config.php"
ynh_add_config --template="../conf/config.php" --destination="$final_path/data/config.php"
chmod 400 "$final_path/config.php"
chown $app "$final_path/config.php"
chmod 400 "$final_path/data/config.php"
chown $app "$final_path/data/config.php"
#=================================================
# DATABASE INITIALIZATION

View file

@ -87,7 +87,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=3
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/config.php"
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/data/config.php"
fi
mkdir -p $final_path/sessions/