Rewritten extensions system to enable per company module/plugin
[fa-stable.git] / installed_extensions.php
index f18c1ff6563a7727d4f76f50152806c8bc1a75d0..b83e3cfb66645e973b1efb44032aee80ef03e122 100644 (file)
@@ -1,23 +1,19 @@
 <?php
 
-/* How to make new entries here
-
--- if adding extensions at the beginning of the list, make sure it's index is set to 0 (it has ' 0 => ')
--- 'app_file' is the application file name to be put into folder applications
--- '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 
+/* List of installed additional modules and plugins. If adding extensions at the beginning 
+       of the list, make sure it's index is set to 0 (it has ' 0 => ');
+       
+       'name' - name for identification purposes;
+       'type' - type of extension: 'module' or 'plugin'
+       'path' - FA root based installation path
+       'filename' - name of module menu file, or plugin filename; related to path.
+       'tab' - index of the module tab (new for module, or one of standard module names for plugin);
+       'title' - is the menu text (for plugin) or new tab name
+       'active' - current status of extension
+       'acc_file' - (optional) file name with $security_areas/$security_sections extensions; 
+               related to 'path'.
 */
 
-$installed_extensions = array ();
-
-// example
-/*
 $installed_extensions = array (
-       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