Error message displayed when no report file is found.
[fa-stable.git] / config.default.php
index cfc371708e0dbc6fb7942a21ede0dd04a12b98d3..3c2e67ebb1181663111ff192dfaf4a4c4cf8f0ac 100644 (file)
@@ -27,7 +27,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
        $error_logfile = dirname(__FILE__).'/tmp/errors.log';
        $debug                  = 1;
        $show_sql               = 0;
-       $go_debug               = 1;
+       $go_debug               = 0;
        $pdf_debug              = 0;
        // set $sql_trail to 1 only if you want to perform bugtracking sql trail
        // Warning: this produces huge amount of data in sql_trail table.
@@ -56,7 +56,9 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
        // Main Title
        $app_title = "FrontAccounting";
        // application version
-       $version                = "2.2 RC";
+       $version                = "2.3 CVS (m6)";
+        // src-data compatibility check. Do not change.
+       $core_version = "2.3";
 
        // Build for development purposes
        $build_version  = date("d.m.Y", filemtime("$path_to_root/CHANGELOG.txt"));
@@ -110,16 +112,17 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
        $dateseps               = array("/", ".", "-", " ");
        $thoseps                = array(",", ".", " ");
        $decseps                = array(".", ",");
+       // defalt dateformats and dateseps indexes used before user login
+       $dflt_date_fmt = 0;
+       $dflt_date_sep = 0;
 
        $pagesizes              = array("Letter", "A4"); // default PDF pagesize
 
        /* Default border and spacing for tables */
        /* Should be moved to CSS */
 
-       if (!isset($_SESSION['bordercolor']))
-               $_SESSION['bordercolor'] = "#8cacbb";
-       $table_style    = "cellpadding=3 border=1 bordercolor='".$_SESSION['bordercolor']."' class='tablestyle'";
-       $table_style2   = "cellpadding=3 border=1 bordercolor='#cccccc' class='tablestyle2'";
+       $table_style    = "class='tablestyle'";
+       $table_style2   = "class='tablestyle2'";
 
        /* Accounts Payable */
        /* System check to see if quantity charged on purchase invoices exceeds the quantity received.
@@ -208,4 +211,8 @@ if (!defined('ICON_EDIT'))
        define("ICON_SUBMIT", "ok.gif");
        define("ICON_ESCAPE", "escape.png");    
 }
+
+       /* allow using of multi level sub-types when digits are of same length in account types */
+       $use_new_account_types = 0;
+
 ?>
\ No newline at end of file