Ejemplo n.º 1
0
 /**
  * Fill caches for classes following the PSR-0 standard for the
  * specified Vendors.
  *
  * PSR Autoloading is detailed at http://www.php-fig.org/psr/psr-0/.
  */
 protected static function fill_psr_cache()
 {
     global $CFG;
     $psrsystems = array('Horde' => 'horde/framework');
     self::$psrclassmap = array();
     foreach ($psrsystems as $system => $fulldir) {
         if (!$fulldir) {
             continue;
         }
         self::load_psr_classes($CFG->libdir . DIRECTORY_SEPARATOR . $fulldir);
     }
 }