Minor adjustments
[fa-stable.git] / config.php
index 61036a3b953510413d09c3142df89a904987181b..277d2ccf66af3db62f8b093d864923d381de298f 100644 (file)
@@ -9,13 +9,21 @@
        |                                                   |
        \--------------------------------------------------*/
 
+/*
+       // Make sure this directory exists and is writable!
     $session_save_path = dirname(__FILE__).'/tmp/';
 
+*/
+       $session_save_path = session_save_path();
+       if (strpos($session_save_path, ";") !== false)
+               $session_save_path = substr($session_save_path, strpos($session_save_path, ";") + 1);
+
        if (isset($session_save_path))
        {
                session_save_path($session_save_path);
                unset($session_save_path);
     }
+
     include_once($path_to_root . "/config_db.php");
     include_once($path_to_root . "/includes/lang/language.php");
 
        // Main Title
        $app_title = "FrontAccounting";
     // application version
-    $version           = "1.0a";
+    $version           = "1.12";
 
     // Build for development purposes
-    $build_version     = "177";
+    $build_version     = "31";
 
        // Powered by
        $power_by               = "FrontAccounting";
-       $power_url              = "http://frontaccounting.com";
+       $power_url              = "http://frontaccounting.net";
 
-       /* use popup windows for views */
-       $use_popup_windows = 1;
     /*Stock units array*/
        $stock_units    = array(_("ea."), _("m"), _("kgg"), _("tons"), _("l"), _("lbs"), _("dozen"), _("pack"), _("hrs"));
 
+       /* use popup windows for views */
+       $use_popup_windows = 1;
+
+       /* use date picker for all date fields */
+       $use_date_picker = 1;
+
+       /* use Audit Trails in GL */
+       $use_audit_trail = 0;
+       
+       /* allow alpha characters in accounts. 0 = numeric, 1 = alpha numeric, 2 = uppercase alpha numeric */
+       $accounts_alpha = 0;
+
+       /* default start-up tab (orders/AP/stock/manuf/proj/GL/system) */
+       $def_app = "orders";
+       
+       /* Date systems. 0 = traditional, 1 = Jalali used by Iran, nabour countries, Afghanistan and some other Central Asian nations, 
+          2 = Islamic used by other arabic nations */
+       $date_system = 0;
+
        $dateformats    = array("MMDDYYYY", "DDMMYYYY", "YYYYMMDD");
        $dateseps               = array("/", ".", "-", " ");
        $thoseps                = array(",", ".", " ");