-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathserve-minified-content.php
23 lines (19 loc) · 1.06 KB
/
serve-minified-content.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
if ( ! defined( 'JETPACK_BOOST_CONCAT_USE_WP' ) ) {
define( 'JETPACK_BOOST_CONCAT_USE_WP', false );
// Load minification library.
require_once __DIR__ . '/vendor/matthiasmullie/minify/src/Exception.php';
require_once __DIR__ . '/vendor/matthiasmullie/minify/src/Minify.php';
require_once __DIR__ . '/vendor/matthiasmullie/minify/src/CSS.php';
require_once __DIR__ . '/vendor/matthiasmullie/minify/src/JS.php';
require_once __DIR__ . '/vendor/matthiasmullie/minify/src/Exceptions/BasicException.php';
require_once __DIR__ . '/vendor/matthiasmullie/minify/src/Exceptions/FileImportException.php';
require_once __DIR__ . '/vendor/matthiasmullie/minify/src/Exceptions/IOException.php';
}
// Load minify library code.
require_once __DIR__ . '/app/lib/minify/Utils.php';
require_once __DIR__ . '/app/lib/minify/Config.php';
require_once __DIR__ . '/app/lib/minify/Dependency_Path_Mapping.php';
require_once __DIR__ . '/app/lib/minify/functions-helpers.php';
require_once __DIR__ . '/app/lib/minify/functions-service.php';
jetpack_boost_page_optimize_service_request();