mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
Fix
This commit is contained in:
parent
a02bf67237
commit
c51a44dc2d
3 changed files with 5 additions and 5 deletions
|
@ -43,7 +43,7 @@ define('MAIL_BCC', '');
|
||||||
define('MAIL_TRANSPORT', 'mail');
|
define('MAIL_TRANSPORT', 'mail');
|
||||||
|
|
||||||
// SMTP configuration to use when the "smtp" transport is chosen
|
// 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_PORT', 25);
|
||||||
define('MAIL_SMTP_USERNAME', '');
|
define('MAIL_SMTP_USERNAME', '');
|
||||||
define('MAIL_SMTP_PASSWORD', '');
|
define('MAIL_SMTP_PASSWORD', '');
|
||||||
|
|
|
@ -121,10 +121,10 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||||
ynh_script_progression --message="Configuring Kanboard..."
|
ynh_script_progression --message="Configuring Kanboard..."
|
||||||
|
|
||||||
dir="__DIR__"
|
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"
|
chmod 400 "$final_path/data/config.php"
|
||||||
chown $app "$final_path/config.php"
|
chown $app "$final_path/data/config.php"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DATABASE INITIALIZATION
|
# DATABASE INITIALIZATION
|
||||||
|
|
|
@ -87,7 +87,7 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=3
|
ynh_script_progression --message="Upgrading source files..." --weight=3
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# 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
|
fi
|
||||||
|
|
||||||
mkdir -p $final_path/sessions/
|
mkdir -p $final_path/sessions/
|
||||||
|
|
Loading…
Reference in a new issue