コード例 #1
0
ファイル: scanner.php プロジェクト: Haydt45/justinhaydt.com
 /**
  * Executes file checking
  *
  * Performs the actual execution of a file scan after determining that such an execution is needed.
  *
  * @since 4.0.0
  *
  * @static
  *
  * @param bool $scheduled_call [optional] true if this is an automatic check
  * @param bool $return_data    [optional] whether to return a data array (true) or not (false)
  *
  * @return mixed
  */
 public static function run_scan($scheduled_call = true, $return_data = false)
 {
     if (!self::$instance) {
         self::$instance = new self();
     }
     return self::$instance->execute_file_check($scheduled_call, $return_data);
 }