1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lionwiki-t2t_ynh.git synced 2024-09-03 19:36:27 +02:00

Merge pull request #30 from YunoHost-Apps/testing

fixes some rights errors
This commit is contained in:
farvardin 2024-02-18 22:33:50 +01:00 committed by GitHub
commit 5639da1940
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View file

@ -74,9 +74,9 @@ $START_PAGE = 'main'; // Which page should be default (start page)?
$RSS = '<a href="./var/rss.xml">RSS</a>'; $RSS = '<a href="./var/rss.xml">RSS</a>';
// if needed (if autodetection doesn't work), force language // if needed (if autodetection doesn't work), force language
$LANG = __LANGUAGE__; $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) // (it looks like forcing another language crashes lionwiki so it's better to keep LANG='en' at the moment... autodetection seems to work anyway)
$LANG = en; $LANG = 'en';
/* see the file config.t2t to tweak the syntax and even more! */ /* see the file config.t2t to tweak the syntax and even more! */

View file

@ -73,8 +73,9 @@ ynh_add_nginx_config
# chmod again to fix unaccessible templates / css files # chmod again to fix unaccessible templates / css files
chmod -R 755 "$install_dir" chmod -R 755 "$install_dir"
# don't allow read access to config.php for everyone # don't allow read access to config.php and pages/ for everyone
chmod 750 "$install_dir"/config.php chmod 750 "$install_dir"/config.php
chmod -R 750 "$install_dir"/var/pages/
# chmod root folder # chmod root folder
chmod 750 "$install_dir" chmod 750 "$install_dir"