projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bank Payment: for selected supplier payment set supplier account dimensions.
[fa-stable.git]
/
config.default.php
diff --git
a/config.default.php
b/config.default.php
index 57ac00c3f0846652c0cf3a2c89540f7161985cb5..ab77a57bf5198464ad1011cfe20e1c0239e3df89 100644
(file)
--- 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");
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 = '';
// 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
$debug = 1; // show sql on database errors
$show_sql = 0; // show all sql queries in page footer for debugging purposes
@@
-56,7
+56,7
@@
if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
/* No check on edit conflicts. Maybe needed to be set to 1 in certains Windows Servers */
$no_check_edit_conflicts = 0;
/* No check on edit conflicts. Maybe needed to be set to 1 in certains Windows Servers */
$no_check_edit_conflicts = 0;
- /* Use
icon for editkey (=true)
right of combobox. 1 = use, 0 = do not use */
+ /* Use
additional icon for supplier/customer edition
right of combobox. 1 = use, 0 = do not use */
$use_icon_for_editkey = 0;
/* Creates automatic a default branch with contact. Value 0 do not create auto branch */
$use_icon_for_editkey = 0;
/* Creates automatic a default branch with contact. Value 0 do not create auto branch */
@@
-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;
/* 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;
/* use old style convert (income and expense in BS, PL) */
$use_oldstyle_convert = 0;
@@
-86,14
+83,14
@@
if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
// locally installed wiki module
// $help_base_url = $path_to_root.'/modules/wiki/index.php?n='._('Help').'.';
// context help feed from frontaccounting.com
// locally installed wiki module
// $help_base_url = $path_to_root.'/modules/wiki/index.php?n='._('Help').'.';
// context help feed from frontaccounting.com
-
//
$help_base_url = 'http://frontaccounting.com/fawiki/index.php?n=Help.';
- //
not used
- $help_base_url = null;
+ $help_base_url = 'http://frontaccounting.com/fawiki/index.php?n=Help.';
+ //
set to null if not used:
+
//
$help_base_url = null;
/* per user data/cache directory */
/* per user data/cache directory */
- $comp_path =
dirname(__FILE__)
.'/company';
+ $comp_path =
$path_to_root
.'/company';
- /* Date systems. 0 = traditional, 1 = Jalali used by Iran,
nabour countries,
Afghanistan and some other Central Asian nations,
+ /* Date systems. 0 = traditional, 1 = Jalali used by Iran, Afghanistan and some other Central Asian nations,
2 = Islamic used by other arabic nations. 3 = traditional, but where non-workday is Friday and start of week is Saturday */
$date_system = 0;
2 = Islamic used by other arabic nations. 3 = traditional, but where non-workday is Friday and start of week is Saturday */
$date_system = 0;
@@
-123,12
+120,12
@@
if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
If this parameter is checked the proportion by which the purchase invoice is an overcharge
referred to before reporting an error */
If this parameter is checked the proportion by which the purchase invoice is an overcharge
referred to before reporting an error */
- $check_price_charged_vs_order_price =
T
rue;
+ $check_price_charged_vs_order_price =
t
rue;
$config_allocation_settled_allowance = 0.005;
/* Show average costed values instead of fixed standard cost in report, Inventory Valuation Report */
$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;
/* Show menu category icons in core themes */
$show_menu_category_icons = 1;
@@
-154,6
+151,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";
/* 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.
/*
Display a dropdown select box for choosing Company to login if false.
@@
-205,3
+203,10
@@
if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
If not defined $comp_path/%s/backup/ is used.
*/
// $backup_path = dirname(__FILE__).'/company/%s/backup/';
If not defined $comp_path/%s/backup/ is used.
*/
// $backup_path = dirname(__FILE__).'/company/%s/backup/';
+
+/*
+ Optional popup search enabled if this is true.
+ $max_rows_in_search = 10 is used for maximum rows in search
+*/
+ $use_popup_search = true;
+ $max_rows_in_search = 10;