mirror of
https://github.com/YunoHost-Apps/bozon_ynh.git
synced 2024-09-03 18:16:09 +02:00
55 lines
No EOL
3.2 KiB
PHP
55 lines
No EOL
3.2 KiB
PHP
<?php
|
|
/**
|
|
* BoZoN basic config page:
|
|
* change if you need
|
|
* @author: Bronco (bronco@warriordudimanche.net)
|
|
**/
|
|
if(!ini_get('date.timezone') ){date_default_timezone_set("Europe/Paris");} # list of timezones here http://php.net/manual/en/timezones.php Europe/Paris Europe/Madrid Europe/London etc.
|
|
$default_language='en';
|
|
$debug_mode=false;
|
|
if (function_exists('navigatorLanguage')){$default_language=navigatorLanguage();}
|
|
|
|
#############################################################
|
|
# Path config (change it BEFORE first start)
|
|
#############################################################
|
|
$default_path='uploads/'; # upload folder
|
|
$default_private='private/'; # private folder
|
|
$default_id_file=$default_private.'/id.php'; # IDs file name
|
|
$default_temp_folder=$default_private.'/temp/'; # temp folder path
|
|
$default_users_rights_file=$default_private.'/users_rights_file.php'; # IDs file name
|
|
$default_profiles_rights_file=$default_private.'/profiles_rights.php'; # profiles rights file name
|
|
$default_folder_share_file=$default_private.'/folder_share.php'; # IDs file name
|
|
$default_stat_file=$default_private.'/stats_log.php'; # stats file name
|
|
|
|
#############################################################
|
|
# Aspect config
|
|
#############################################################
|
|
$default_theme='default'; # you can make your own bozon design and set this variable with the folder skin's name inside the design folder
|
|
$default_aspect='list'; # «icon»/«list»
|
|
$default_mode='view';
|
|
$gallery_thumbs_width=256;
|
|
$show_back_button=true; # show previous folder button
|
|
|
|
#############################################################
|
|
# Behaviour config
|
|
#############################################################
|
|
$default_max_lines_per_page_on_stats_page=100;
|
|
$default_limit_stat_file_entries=10000;
|
|
$default_max_files_per_page=100;
|
|
$disable_non_installed_libs_warning=false;
|
|
$allow_folder_size_stat=true; # show folder size (put false if you have a big slowdown with huge amount of files)
|
|
$allow_shared_folder_RSS_feed=true; # Visitor can access to the rss feed of a shared folder
|
|
$allow_shared_folder_JSON_feed=true; # Visitor can access to the json feed of a shared folder
|
|
$allow_shared_folder_download=true; # Visitor can download a shared folder as a zip
|
|
$click_on_link_to_download=true; # true= download a file by clicking on it, false= open file in new tab (img/pdf etc)
|
|
$check_ID_base_on_page_load=false; # true= the base will be checked for deleted files / added files and problems with IDs on each page load: put false if you see a slow down when you have a huge amout of files and folders.
|
|
$allow_unknown_filetypes=true; # true= allow exotic filetypes (when filetype mime is not recognised)
|
|
$use_lightbox=true; # false= view in a new tab
|
|
$remove_item_from_users_share_when_renew_id=false; # false= id will be updated in share file, true= id will be removed from share file
|
|
|
|
#############################################################
|
|
# Profiles config
|
|
#############################################################
|
|
$default_profile_folder_max_size=50; # false = infinite or specify in MB
|
|
|
|
?>
|