X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=inline;f=installed_extensions.php;h=8afb638b908c9a63899fe628a634f3b8400cb9af;hb=61a25e40c92fc1d517c9c2e85ac3ec0cf05b2af3;hp=f18c1ff6563a7727d4f76f50152806c8bc1a75d0;hpb=07a0b37ca7360c5dbb058f5a0ba4c5752671dda7;p=fa-stable.git diff --git a/installed_extensions.php b/installed_extensions.php index f18c1ff6..8afb638b 100644 --- a/installed_extensions.php +++ b/installed_extensions.php @@ -1,23 +1,23 @@ ') --- '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 manually + to the list make sure they have unique, so far not used extension_ids as a keys, + and $next_extension_id is also updated. + + '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' + 'access' - security area code in string form */ -$installed_extensions = array (); +$next_extension_id = 1; // unique id for next installed extension -// 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