Exemple #1
0
 public static function getParsingStatus()
 {
     $license = new License();
     //if (!eval(Hooks::get('PARSER_ENABLE_CHECK'))) return;
     if (!defined('PARSING_ENABLED') || !PARSING_ENABLED) {
         return false;
     }
     $pu = new ParseUtility();
     $status = $pu->status(LICENSE_KEY);
     if (!$status || !is_array($status) || !count($status)) {
         return false;
     }
     return $status;
 }