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-06 16:01:21 +01:00
parent f7caf85718
commit 72617527a0
2 changed files with 6 additions and 6 deletions

View file

@ -296,10 +296,10 @@ $conf['fs_quick_check_period'] = 24*60*60;
$conf['send_bcc_mail_webmaster'] = false;
// define the name of sender mail: if value is empty, gallery title is used
$conf['mail_sender_name'] = '';
$conf['mail_sender_name'] = '__APP__';
// define the email of sender mail: if value is empty, webmaster email is used
$conf['mail_sender_email'] = '';
$conf['mail_sender_email'] = '__APP__@__DOMAIN__';
// set true to allow text/html emails
$conf['mail_allow_html'] = true;
@ -831,12 +831,12 @@ $conf['light_slideshow'] = true;
// the local data directory is used to store data such as compiled templates,
// plugin variables, combined css/javascript or resized images. Beware of
// mandatory trailing slash.
$conf['data_location'] = '_data/';
$conf['data_location'] = '__DATA_DIR__/_data/';
// where should the API/UploadForm add photos? This path must be relative to
// the Piwigo installation directory (but can be outside, as long as it's
// reachable from your webserver).
$conf['upload_dir'] = './upload';
$conf['upload_dir'] = '__DATA_DIR__/upload';
// where should the user be guided when there is no photo in his gallery yet?
$conf['no_photo_yet_url'] = 'admin.php?page=photos_add';

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"