示例#1
0
文件: vmcrypt.php 项目: lenard112/cms
 private static function _getEncryptSafepath()
 {
     if (!class_exists('ShopFunctions')) {
         require JPATH_VM_ADMINISTRATOR . DS . 'helpers' . DS . 'shopfunctions.php';
     }
     $safePath = ShopFunctions::checkSafePath();
     if (empty($safePath)) {
         return NULL;
     }
     $encryptSafePath = $safePath . self::ENCRYPT_SAFEPATH;
     //echo 'my $encryptSafePath '.$encryptSafePath;
     //if(!JFolder::exists($encryptSafePath)){
     self::createEncryptFolder($encryptSafePath);
     //}
     return $encryptSafePath;
 }