public function performChecks()
 {
     $ex = AJXP_Utils::searchIncludePath("VersionControl/Git.php");
     if (!$ex) {
         throw new Exception("Cannot find PEAR library VersionControl/Git");
     }
 }
 public function init($options)
 {
     parent::init($options);
     if (AJXP_Utils::searchIncludePath('Auth/Yubico.php')) {
         require_once 'Auth/Yubico.php';
     }
     $this->usersSerFile = AJXP_VarsFilter::filter($this->getOption("USERS_FILEPATH"));
     $this->yubico_secret_key = AJXP_VarsFilter::filter($this->getOption("YUBICO_SECRET_KEY"));
     $this->yubico_client_id = AJXP_VarsFilter::filter($this->getOption("YUBICO_CLIENT_ID"));
 }
示例#3
0
 public function performChecks()
 {
     if (!AJXP_Utils::searchIncludePath("Mail/mimeDecode.php")) {
         throw new Exception("Cannot find Mail/mimeDecode PEAR library");
     }
 }
 public function performChecks()
 {
     if (!AJXP_Utils::searchIncludePath('HTTP/WebDAV/Client.php')) {
         throw new Exception("The PEAR HTTP_WebDAV_Client package must be installed!");
     }
 }
 public function performChecks()
 {
     if (!AJXP_Utils::searchIncludePath('HTTP/OAuth/Consumer.php')) {
         throw new Exception("The PEAR HTTP_OAuth package must be installed!");
     }
 }