! -> Note
$ -> Affected files
+-------------------------------2.0 Final --------------------------------------------
+21_aug-2008 Joe Hunt
+! config.php file. Version changed to 2.0
+$ config.php
+! Set time out to 120 seconds.
+$ /install/save.php
+! fixing $amp in backup
+$ /js/utils.js
+
20-Aug-2008 Joe Hunt
# Bug [0000037] Price diff and deliveries between po receive and supp invoice. (Again)
$ /includes/db/inventory_db.inc
// Main Title
$app_title = "FrontAccounting";
// application version
- $version = "2.0 RC2";
+ $version = "2.0";
// Build for development purposes
$build_version = date("d.m.Y", filemtime("$path_to_root/CHANGELOG.txt"));
If the security setting of the page is contained in the security group as determined by the access level then the user will be allowed access.
Each page has a $page_security = x; variable
This value is compared to contents of the array applicable which is based on the access level of the user.
- Access authorisation is checked in session.inc. If you wish to add more security groups
+ Access authorisation is checked in session.inc. If you wish to add more security groups
with then you must add a new SecurityHeading to the security_headings array
and a new array of Security categories to the Security Groups _at_the_end_ of the array
This mechanism allows more fine grained control of access
or by changing the numbers in each array the security access can be tailored. These numbers need to read
in conjunction with the Page Security index
Special case is security level 20 which is reserved for admins of first
- registered company (site admins). All potentially dangerous for whole FA
+ registered company (site admins). All potentially dangerous for whole FA
site operations like installing addon modules require access level 20.
*/
<?php
error_reporting(E_ALL);
ini_set("display_errors", "On");
-ini_set("max_execution_time", "60");
+ini_set("max_execution_time", "120");
// Start a session
if(!defined('SESSION_STARTED'))
if(!name) {
if (_focus)
name = _focus; // last focus set in onfocus handlers
- else { // no current focus (first page display) - set it from from last form
+ else
+ if (document.forms.length) { // no current focus (first page display) - set it from from last form
var cur = document.getElementsByName('_focus')[document.forms.length-1];
if(cur) name = cur.value;
}