Show
Ignore:
Timestamp:
12/20/11 18:13:49 (1 year ago)
Author:
p_lindheimer
Message:

don't force ampuser class to be loaded as it never is with the autoloader and this can result in errors when running in dev mode with symlinks

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.10/amp_conf/htdocs/admin/functions.inc.php

    r13083 r13098  
    9999  /* Special case of TRUE forces all classes to be loaded. Make sure to add new classes to this array 
    100100   * as they are added to the autoloader. This was added because the presence of Zend enabled modules 
    101    * can result in the autoloader function failing. 
     101   * can result in the autoloader function failing. 
     102   * 
     103   * Don't force ampuser though it is always loaded in advance 
    102104   * 
    103105   * Basically, every 'case' below should have a corresponding entry in the $class array below. 
    104106   */ 
    105107  if ($class === true) { 
    106     $class = array('ampuser','CI_Email','CI_Table','CssMin','component','featurecode','cronmanager','moduleHook','modulelist','notifications','xml2Array','modgettext'); 
     108    $class = array('CI_Email','CI_Table','CssMin','component','featurecode','cronmanager','moduleHook','modulelist','notifications','xml2Array','modgettext'); 
    107109  } else { 
    108110    $class = array($class);