Optional additional security roles inscludable from modules/extensions.
[fa-stable.git] / installed_extensions.php
index 002256124b0b1a4c7a5b1afbbb5b70fc054d0235..f18c1ff6563a7727d4f76f50152806c8bc1a75d0 100644 (file)
@@ -7,7 +7,7 @@
 -- 'name' is the name of the extension module. Will become the index of the application
 -- 'title' is the Menu Title
 -- 'folder' is the folder where the extension files exist
-
+-- 'acc_file' is path inside extension folder to optional file with $security_areas/$security_sections extensions 
 */
 
 $installed_extensions = array ();
@@ -15,8 +15,9 @@ $installed_extensions = array ();
 // example
 /*
 $installed_extensions = array (
-       0 => array ('app_file' => 'organizer.php', 'name' => 'organizer', 'title' => 'Organizer', 'folder' => 'organizer'),
-       array ('app_file' => 'payroll.php', 'name' => 'payroll', 'title' => 'Payroll', 'folder' => 'payroll')
-       );
+       0 => array ('app_file' => 'organizer.php', 'name' => 'organizer', 'title' => 'Organizer', 'folder' => 'organizer',
+       'acc_file'=>'')),
+       array ('app_file' => 'payroll.php', 'name' => 'payroll', 'title' => 'Payroll', 'folder' => 'payroll',
+               'acc_file'=>'includes/access_exts.inc'));
 */     
 ?>
\ No newline at end of file