Fixed modules/plugins security extensions inclusion.
[fa-stable.git] / includes / session.inc
index 19a0e4a66335a27edd064dd42ff969d7ba1d5c4f..89d8c333a25ace6ed4b18dae83da0a6c0b4cb59f 100644 (file)
@@ -236,7 +236,13 @@ if (strstr($_SERVER['PHP_SELF'], 'logout.php') == false){
                $_SESSION["App"]->init();
        }
 
-//----------------------------------------------------------------------------------------
+       /*
+       This call is necessary only at:
+       . on any page with non-standard security areas
+       . in security roles editor
+       To be optmized  after.
+       */
+       add_access_extensions();
 
        check_page_security($page_security);
 }