Started populating org_id in projects and tasks.
[timetracker.git] / WEB-INF / lib / Auth.class.php
index 2c3c657..354d34b 100644 (file)
@@ -36,7 +36,8 @@ class Auth {
 //          die ("Your browser's cookie functionality is turned off. Please turn it on.");
 //        }
 
-      $GLOBALS['SMARTY']->assign('authenticated', true); // Used in header.tpl for menu display.
+      global $smarty;
+      $smarty->assign('authenticated', true); // Used in header.tpl for menu display.
       return true;
     }
     session_write_close();