mirror of
https://github.com/YunoHost-Apps/lionwiki-t2t_ynh.git
synced 2024-09-03 19:36:27 +02:00
commit
82ab1d0223
5 changed files with 15 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator
|
||||
It shall NOT be edited by hand.
|
||||
-->
|
||||
|
||||
|
@ -46,4 +46,4 @@ or
|
|||
sudo yunohost app upgrade lionwiki-t2t -u https://github.com/YunoHost-Apps/lionwiki-t2t_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
||||
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator
|
||||
It shall NOT be edited by hand.
|
||||
-->
|
||||
|
||||
|
|
|
@ -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__;
|
||||
// (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;
|
||||
|
||||
/* see the file config.t2t to tweak the syntax and even more! */
|
||||
|
||||
|
|
|
@ -19,6 +19,10 @@ location __PATH__/ {
|
|||
fastcgi_param REMOTE_USER $remote_user;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
|
||||
## fixes upload problem:
|
||||
fastcgi_buffers 16 16k;
|
||||
fastcgi_buffer_size 32k;
|
||||
}
|
||||
|
||||
# Don't include SSOWAT user panel (can lead to some server error, like "bad gateway")
|
||||
|
|
|
@ -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