Changeset 13075
- Timestamp:
- 12/15/11 19:41:42 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.10/amp_conf/htdocs/admin/bootstrap.php
r12970 r13075 171 171 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")) { 172 172 require_once($amp_conf['AMPWEBROOT']."/admin/modules/{$key}/functions.inc.php"); 173 174 // Zend appears to break class auto-loading. Therefore, if we detect there is a module that requires Zend 175 // we will include all the potential classes at this point. 176 // 177 if (!$force_autoload && isset($module['depends']['phpcomponent']) && stristr($module['depends']['phpcomponent'], 'zend')) { 178 fpbx_framework_autoloader(true); 179 $force_autoload = true; 180 } 173 181 } 174 182 //create an array of module sections to display
