We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d4e6ba commit 426ffe8Copy full SHA for 426ffe8
test/index.php
@@ -5,11 +5,12 @@
5
//include '../src/WebPHPack.php';
6
require_once "../vendor/autoload.php";
7
$htmlsource = file_get_contents('bootstrap.html');
8
-$webphpack = new \Phreak\WebPHPack($htmlsource);
+$webphpack = new Phreak\WebPHPack($htmlsource);
9
$webphpack->matchString = 'assets/';
10
$webphpack->jsPath = ROOT_DIR.'/assets/js';
11
$webphpack->cssPath = ROOT_DIR.'/assets/css';
12
$webphpack->outputPath = ROOT_DIR.'/assets/cache';
13
$webphpack->outputURL = BASE_URL.'/assets/cache';
14
$webphpack->caching = true;
15
+$webphpack->httpush = true;
16
echo $webphpack->combineJS()->combineCSS()->output();
0 commit comments