X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=config.default.php;h=0d49bbc26d609fdf00ef1a621ac9cd5d37907225;hb=c389dc1204205da3235907b9db3ab4aaf246719b;hp=cdbb2d44b87eecd221fa7d6851ebb283fac111a2;hpb=1ca0c7081f7a4cb3f68f3ffb6ee05739abb6cebf;p=fa-stable.git diff --git a/config.default.php b/config.default.php index cdbb2d44..0d49bbc2 100644 --- a/config.default.php +++ b/config.default.php @@ -21,9 +21,9 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_to_root'])) die("Restricted access"); - // Server time zone. If leaved empty the time zone set in php init file will be used. - // If timezone is not set in this file nor in php.ini, Europe/Berlin' is used as defualt. - $server_time_zone = ''; + // Server time zone. Since php 5.3.0 time zone have to be set either here or in server php ini file + if (!ini_get('date.timezone')) + ini_set('date.timezone', 'Europe/Berlin'); // Log file for error/warning messages. Should be set to any location // writable by www server. When set to empty string logging is switched off. @@ -154,6 +154,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ /* UTF-8 font for Business Graphics. Copy it to /reporting/fonts/ folder. */ $UTF8_fontfile = "FreeSans.ttf"; + //$UTF8_fontfile = "zarnormal.ttf"; // for Arabic Dashboard /* Display a dropdown select box for choosing Company to login if false.