X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=config.default.php;h=ab77a57bf5198464ad1011cfe20e1c0239e3df89;hb=e01ce098c8862750e2f4f66f255191e83a4ce1d6;hp=ba6eadcb2642b3aecc4e990dcd31a7214ce5dbc1;hpb=af9e628479b38b0cd7972044ab02902b020211e9;p=fa-stable.git diff --git a/config.default.php b/config.default.php index ba6eadcb..ab77a57b 100644 --- a/config.default.php +++ b/config.default.php @@ -21,15 +21,15 @@ 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. // Special value 'syslog' can be used for system logger usage (see php manual). //$error_logfile = ''; - $error_logfile = $path_to_root.'/tmp/errors.log'; + $error_logfile = VARLOG_PATH.'/errors.log'; $debug = 1; // show sql on database errors $show_sql = 0; // show all sql queries in page footer for debugging purposes @@ -70,9 +70,6 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ /* This has been superseded with built in Audit Trail */ $use_audit_trail = 0; - /* $show_voiced_gl_trans = 0, setting this to 1 will show the voided gl trans */ - $show_voided_gl_trans = 0; - /* use old style convert (income and expense in BS, PL) */ $use_oldstyle_convert = 0; @@ -128,7 +125,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ $config_allocation_settled_allowance = 0.005; /* Show average costed values instead of fixed standard cost in report, Inventory Valuation Report */ - $use_costed_values = 0; + $use_costed_values = 1; /* Show menu category icons in core themes */ $show_menu_category_icons = 1;