Changeset 13077
- Timestamp:
- 12/15/11 20:44:36 (1 year ago)
- Files:
-
- freepbx/branches/2.9 (modified) (2 props)
- freepbx/branches/2.9/amp_conf/htdocs/admin/bootstrap.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.9
- Property svn:mergeinfo set to /freepbx/branches/2.10:13075-13076
- Property svnmerge-integrated changed from /freepbx/branches/2.10:1-12618,12932 /freepbx/branches/2.8:1-11479,12035 to /freepbx/branches/2.8:1-11479,12035 /freepbx/branches/2.10:1-12618,12932,13075-13076
freepbx/branches/2.9/amp_conf/htdocs/admin/bootstrap.php
r12183 r13077 146 146 if(is_array($active_modules)){ 147 147 148 $force_autoload = false; 148 149 foreach($active_modules as $key => $module) { 149 150 //include module functions if there not dissabled 150 151 if ((!$restrict_mods_local || (is_array($restrict_mods_local) && isset($restrict_mods_local[$key]))) && is_file($amp_conf['AMPWEBROOT']."/admin/modules/{$key}/functions.inc.php")) { 151 152 require_once($amp_conf['AMPWEBROOT']."/admin/modules/{$key}/functions.inc.php"); 153 154 // Zend appears to break class auto-loading. Therefore, if we detect there is a module that requires Zend 155 // we will include all the potential classes at this point. 156 // 157 if (!$force_autoload && isset($module['depends']['phpcomponent']) && stristr($module['depends']['phpcomponent'], 'zend')) { 158 fpbx_framework_autoloader(true); 159 $force_autoload = true; 160 } 152 161 } 153 162 //create an array of module sections to display
