mirror of
https://github.com/YunoHost-Apps/shaarli_ynh.git
synced 2024-09-03 20:26:10 +02:00
33d286fcf9
* Set file permissions after creating the log (#53) Should fix #49 * Updated to V0.12.0 and Nginx fix (#57) * Set file permissions after creating the log (#53) (#54) Should fix #49 Authored-by: tituspijean <tituspijean@outlook.com> * Updated to version v0.12.0 * Fix images * Fixed path in nginx Co-authored-by: lapineige <lapineige@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update README.md * rm -r -> ynh_secure_remove (#59) * Update issue_template.md Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update openssl dependency Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update _common.sh - Remove unused script that generates an error - Remove openssl that is part of PHP as default * Cleaning up * Fix linter warnings * Small typos (#60) * Patch2 (#61) - Fix NGINX 302 redirect - Fix missing upgrade_type in upgrade script - Add ynh_smart_mktemp helper * Fix NGINX * Re-implement automatic post-installation * Ensure file and directories permissions in upgrade * Replace all ynh_print_info with ynh_script_progression * Update check_process * Use permissions system Co-authored-by: tituspijean <tituspijean@outlook.com> Co-authored-by: anmol26s <5068843+anmol26s@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: ericgaspar <junk.eg@free.fr> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
78 lines
1.9 KiB
PHP
78 lines
1.9 KiB
PHP
<?php /*
|
|
{
|
|
"resource": {
|
|
"data_dir": "data",
|
|
"config": "data\/config.php",
|
|
"datastore": "data\/datastore.php",
|
|
"ban_file": "data\/ipbans.php",
|
|
"updates": "data\/updates.txt",
|
|
"log": "data\/log.txt",
|
|
"update_check": "data\/lastupdatecheck.txt",
|
|
"history": "data\/history.php",
|
|
"raintpl_tpl": "tpl\/",
|
|
"theme": "default",
|
|
"raintpl_tmp": "tmp\/",
|
|
"thumbnails_cache": "cache",
|
|
"page_cache": "pagecache"
|
|
},
|
|
"security": {
|
|
"ban_after": 4,
|
|
"ban_duration": 1800,
|
|
"session_protection_disabled": false,
|
|
"open_shaarli": false,
|
|
"allowed_protocols": [
|
|
"ftp",
|
|
"ftps",
|
|
"magnet"
|
|
]
|
|
},
|
|
"general": {
|
|
"header_link": "?",
|
|
"links_per_page": 20,
|
|
"enabled_plugins": [
|
|
"qrcode"
|
|
],
|
|
"default_note_title": "Note: ",
|
|
"retrieve_description": false,
|
|
"timezone": "__TIMEZONE__",
|
|
"title": "__TITLE__"
|
|
},
|
|
"updates": {
|
|
"check_updates": true,
|
|
"check_updates_branch": "stable",
|
|
"check_updates_interval": 86400
|
|
},
|
|
"feed": {
|
|
"rss_permalinks": true,
|
|
"show_atom": true
|
|
},
|
|
"privacy": {
|
|
"default_private_links": __DEFAULT_PRIVATE_LINKS__,
|
|
"hide_public_links": false,
|
|
"force_login": false,
|
|
"hide_timestamps": false,
|
|
"remember_user_default": true
|
|
},
|
|
"thumbnails": {
|
|
"mode": "all",
|
|
"width": "125",
|
|
"height": "90"
|
|
},
|
|
"translation": {
|
|
"language": "auto",
|
|
"mode": "php",
|
|
"extensions": []
|
|
},
|
|
"plugins": [],
|
|
"formatter": "markdown",
|
|
"credentials": {
|
|
"login": "__ADMIN__",
|
|
"salt": "__SALT__",
|
|
"hash": "__HASH__"
|
|
},
|
|
"api": {
|
|
"enabled": true,
|
|
"secret": "__SECRET__"
|
|
}
|
|
}
|
|
*/ ?>
|