-
Notifications
You must be signed in to change notification settings - Fork 0
/
rocketcdn.php
39 lines (31 loc) · 975 Bytes
/
rocketcdn.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* Plugin Name: RocketCDN
* Plugin URI: https://rocketcdn.me
* Description: RocketCDN automatically rewrites all URLs to be served by our content delivery network (CDN). Easy CDN deployment to WordPress.
* Version: 1.0.6
* Requires at least: 5.4
* Requires PHP: 7.3
* Author: WP Media
* Author URI: https://wp-media.me
* Licence: GPLv3 or later
*
* Copyright 2021 RocketCDN
*/
defined( 'ABSPATH' ) || exit;
define( 'ROCKETCDN_VERSION', '1.0.6' );
use function RocketCDN\Dependencies\LaunchpadCore\boot;
require realpath( plugin_dir_path( __FILE__ ) ) . '/includes/RocketCDNRequirementsCheck.php';
$rocketcdn_rq_check = new RocketCDNRequirementsCheck(
[
'plugin_name' => 'RocketCDN',
'plugin_version' => ROCKETCDN_VERSION,
'wp_version' => '5.4',
'php_version' => '7.3',
]
);
if ( $rocketcdn_rq_check->check() ) {
require __DIR__ . '/src/Dependencies/LaunchpadCore/boot.php';
boot( __FILE__ );
}
unset( $rocketcdn_rq_check );