mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2025-05-07 15:55:32 +02:00
User config improvements
This commit is contained in:
parent
f41c029771
commit
d515831052
@ -41,7 +41,7 @@ $send_mail = false;
|
|||||||
$toMailId = ""; //yourmailid@mail.com
|
$toMailId = ""; //yourmailid@mail.com
|
||||||
|
|
||||||
// Default timezone for date() and time() - http://php.net/manual/en/timezones.php
|
// Default timezone for date() and time() - http://php.net/manual/en/timezones.php
|
||||||
$default_timezone = 'Asia/Kolkata'; // UTC+5:30
|
$default_timezone = 'Etc/UTC'; // UTC
|
||||||
|
|
||||||
// Root path for file manager
|
// Root path for file manager
|
||||||
$root_path = $_SERVER['DOCUMENT_ROOT'];
|
$root_path = $_SERVER['DOCUMENT_ROOT'];
|
||||||
@ -54,11 +54,16 @@ $root_url = '';
|
|||||||
$http_host = $_SERVER['HTTP_HOST'];
|
$http_host = $_SERVER['HTTP_HOST'];
|
||||||
|
|
||||||
// input encoding for iconv
|
// input encoding for iconv
|
||||||
$iconv_input_encoding = 'CP1251';
|
$iconv_input_encoding = 'UTF-8';
|
||||||
|
|
||||||
// date() format for file modification date
|
// date() format for file modification date
|
||||||
$datetime_format = 'd.m.y H:i';
|
$datetime_format = 'd.m.y H:i';
|
||||||
|
|
||||||
|
// include user config php file
|
||||||
|
if (defined('FM_CONFIG') && is_files(FM_CONFIG) ) {
|
||||||
|
include(FM_CONFIG);
|
||||||
|
}
|
||||||
|
|
||||||
//--- EDIT BELOW CAREFULLY OR DO NOT EDIT AT ALL
|
//--- EDIT BELOW CAREFULLY OR DO NOT EDIT AT ALL
|
||||||
|
|
||||||
// if fm included
|
// if fm included
|
||||||
|
Loading…
x
Reference in New Issue
Block a user