Skip to content
Snippets Groups Projects

feature(core): restore changes and adding only __DIR__

Merged Krzysztof Dyszczyk requested to merge feature/fix-tests into feature/autoload-classmap
7 files
+ 737
708
Compare changes
  • Side-by-side
  • Inline

Files

+ 545
535
<?php
if ( ! interface_exists( 'WPDesk_Requirement_Checker' ) ) {
require_once __DIR__ . '/Requirement_Checker.php';
}
if ( ! class_exists( 'WPDesk_Basic_Requirement_Checker' ) ) {
/**
* Checks requirements for plugin
* have to be compatible with PHP 5.3.x
*/
class WPDesk_Basic_Requirement_Checker implements WPDesk_Requirement_Checker {
const EXTENSION_NAME_OPENSSL = 'openssl';
const HOOK_ADMIN_NOTICES_ACTION = 'admin_notices';
@@ -621,3 +630,4 @@ class WPDesk_Basic_Requirement_Checker implements WPDesk_Requirement_Checker {
}
}
}
}
\ No newline at end of file
Loading