X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fcurrent_user.inc;h=a4ee5e85da39e7cd211d64fc21612f7c177ac662;hb=cc36638b65572da4867b7622723d6ed0135525b8;hp=5430b1104c2eb1d59b1ae31df94f364a0901bf1b;hpb=a905e25b57bd657012685ac6836177888a95b93c;p=fa-stable.git diff --git a/includes/current_user.inc b/includes/current_user.inc index 5430b110..a4ee5e85 100644 --- a/includes/current_user.inc +++ b/includes/current_user.inc @@ -54,7 +54,7 @@ class current_user function login($company, $loginname, $password) { - global $security_areas, $security_groups, $security_headings; + global $security_areas, $security_groups, $security_headings, $path_to_root; $this->set_company($company); $this->logged = false; @@ -73,6 +73,7 @@ class current_user if (!isset($security_groups) || !isset($security_headings)) { echo "