Minor fixes in the former files
[fa-stable.git] / config.php
index 105b5ba84e7fa26bc6cfecebd73d2aec7c884ea8..cc495115990a23072ab45aab48cfe24c454caab5 100644 (file)
        Debugging info level also determined by settings in PHP.ini
        if $debug=1 show debugging info, dont show if $debug=0 */
 
-if (!isset($path_to_root))
-//if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_to_root']))
+if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_to_root']))
        die("Restricted access");
 
        $debug                  = 1;
        $show_sql               = 0;
-       $go_debug               = 1;
+       $go_debug               = 0;
        if ($go_debug == 1)
        {
                error_reporting(E_ALL);
@@ -38,10 +37,10 @@ if (!isset($path_to_root))
        // Main Title
        $app_title = "FrontAccounting";
        // application version
-       $version                = "2.0 Pre Alpha";
+       $version                = "2.0 Beta";
 
        // Build for development purposes
-       $build_version  = "2";
+       $build_version  = "22";
 
        // Powered by
        $power_by               = "FrontAccounting";
@@ -57,11 +56,12 @@ if (!isset($path_to_root))
        $use_audit_trail = 0;
 
        /* Integrated base Wiki Help URL or null if not used */
-       $help_base_url = $path_to_root.'/modules/wiki/index.php?n='._('Help').'.';
+       //$help_base_url = $path_to_root.'/modules/wiki/index.php?n='._('Help').'.';
+       $help_base_url = null;
 
        /* per user data/cache directory */
        $comp_path = $path_to_root.'/company';
-       
+
        /* allow alpha characters in accounts. 0 = numeric, 1 = alpha numeric, 2 = uppercase alpha numeric */
        $accounts_alpha = 0;
 
@@ -173,5 +173,5 @@ if(isset($_SESSION["wa_current_user"])) {
        $js_static = array('behaviour.js');
        // additional js source included in header
        $js_lib = $js_userlib = array();
-       
+
 ?>
\ No newline at end of file