public function __construct($main)
 {
     self::$Self = $this;
     parent::__construct($main);
     RDD::Log('Loading PEAR', TRACE, 1201);
     $PEARLibs = $this->Dirs('libs/pear');
     foreach ($PEARLibs as $PEARLib) {
         $this->AddIncludePath($PEARLib);
     }
     require_once 'PEAR.php';
 }
 public function __call($Method, $Args)
 {
     if (strpos($Method, 'Cache') === 0) {
         $Driver = substr($Method, 5);
         if ($this->DriverExist($Driver)) {
             return $this->ExecuteDriver($Driver, $Args);
         }
     }
     return parent::__call($Method, $Args);
 }
Exemple #3
0
 public function __construct($main)
 {
     self::$Self = $this;
     parent::__construct($main);
 }