PluginProbe ʕ •ᴥ•ʔ
Really Simple Security – Simple and Performant Security (formerly Really Simple SSL) / 9.5.11
Really Simple Security – Simple and Performant Security (formerly Really Simple SSL) v9.5.11
9.5.11 9.5.10.1 9.5.10 trunk 9.4.0 9.4.1 9.4.2 9.4.3 9.5.0 9.5.0.1 9.5.0.2 9.5.1 9.5.2 9.5.2.2 9.5.2.3 9.5.3 9.5.3.1 9.5.3.2 9.5.4 9.5.5 9.5.6 9.5.7 9.5.8 9.5.9
really-simple-ssl / core / really-simple-security-core.php
really-simple-ssl / core Last commit date
app 4 weeks ago assets 4 weeks ago bootstrap 4 weeks ago config 4 weeks ago vendor 4 weeks ago helpers.php 4 weeks ago really-simple-security-core.php 4 weeks ago
really-simple-security-core.php
32 lines
1 <?php
2
3 if (!defined('ABSPATH')) {
4 exit;
5 }
6
7 /**
8 * Find the Jetpack packages autoloader.
9 * @see https://packagist.org/packages/automattic/jetpack-autoloader
10 */
11 $autoloaderFilePath = __DIR__ . '/vendor/autoload_packages.php';
12 if (file_exists($autoloaderFilePath) === false) {
13 error_log('Really Simple Security: Core could not be booted, run `composer install` first.');
14 return;
15 }
16
17 // When it exists we require the Jetpack packages autoloader.
18 require_once $autoloaderFilePath;
19
20 // Prevent boot when the core Plugin file is missing.
21 if (class_exists(\ReallySimplePlugins\RSS\Core\Bootstrap\Plugin::class) === false) {
22 error_log('Really Simple Security: Core could not be booted, main `Plugin` class could not be found.');
23 return;
24 }
25
26 // Boot.
27 $corePlugin = new \ReallySimplePlugins\RSS\Core\Bootstrap\Plugin();
28 $corePlugin->boot();
29
30 // Cleanup.
31 unset($corePlugin);
32