mirror of
https://github.com/YunoHost-Apps/lionwiki-t2t_ynh.git
synced 2024-09-03 19:36:27 +02:00
maj + fix droits et config
This commit is contained in:
parent
08d2c2a5b2
commit
346607b531
2 changed files with 9 additions and 2 deletions
|
@ -74,8 +74,9 @@ $START_PAGE = 'main'; // Which page should be default (start page)?
|
|||
$RSS = '<a href="./var/rss.xml">RSS</a>';
|
||||
|
||||
// if needed (if autodetection doesn't work), force language
|
||||
//$LANG = fr;
|
||||
$LANG = __LANGUAGE__;
|
||||
$LANG = en;
|
||||
//$LANG = __LANGUAGE__;
|
||||
// (it looks like forcing another language crashes lionwiki so it's better to keep LANG=en at the moment... autodetection seems to work anyway)
|
||||
|
||||
/* see the file config.t2t to tweak the syntax and even more! */
|
||||
|
||||
|
|
|
@ -73,6 +73,12 @@ ynh_add_nginx_config
|
|||
# chmod again to fix unaccessible templates / css files
|
||||
chmod -R 755 "$install_dir"
|
||||
|
||||
# don't allow read access to config.php for everyone
|
||||
chmod 750 "$install_dir"/config.php
|
||||
|
||||
# chmod root folder
|
||||
chmod 750 "$install_dir"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue