X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fsession.inc;h=c5d417f710d2b0d0dac559939b9573935c3bd27a;hb=15adf0b69c4d0c07d6dcf07e104a73595bc113b0;hp=d3ddf6009ed36bbe5645a12e49fe00611659b9c7;hpb=da8311619dd73feae101d246a1957b972e00cbd2;p=fa-stable.git diff --git a/includes/session.inc b/includes/session.inc index d3ddf600..c5d417f7 100644 --- a/includes/session.inc +++ b/includes/session.inc @@ -76,7 +76,6 @@ } //---------------------------------------------------------------------------------------- - if (!isset($_SESSION["wa_current_user"]) || (isset($_SESSION["wa_current_user"]) && !$_SESSION["wa_current_user"]->logged_in())) { @@ -104,7 +103,14 @@ } } - check_page_security($page_security); + global $js_lib, $js_static, $js_path; + $js_path = $path_to_root.'/js/'; + // standard external js scripts included in all files + $js_static = array('behaviour.js'); + // additional js source included in header + $js_lib = array(); + + add_js_user_num(); // add user native numeric input functions // Run with debugging messages for the system administrator(s) but not anyone else /*if (in_array(15, $security_groups[$_SESSION["AccessLevel"]])) { @@ -114,4 +120,5 @@ }*/ //---------------------------------------------------------------------------------------- + check_page_security($page_security); ?> \ No newline at end of file