mirror of
https://github.com/mrclay/minify.git
synced 2025-02-06 07:48:44 +01:00
be compatible with php-5.3
This commit is contained in:
parent
590cf9b57e
commit
8e85853af8
@ -22,7 +22,7 @@
|
||||
"require": {
|
||||
"ext-pcre": "*",
|
||||
"firephp/firephp-core": "~0.4.0",
|
||||
"php": ">=5.2.1",
|
||||
"php": ">=5.3.0",
|
||||
"tubalmartin/cssmin": "~2.4.8",
|
||||
"mrclay/jsmin-php": "~2"
|
||||
},
|
||||
|
@ -408,9 +408,9 @@ class Minify {
|
||||
$this->cache = new Minify_Cache_Null();
|
||||
|
||||
$env = new Minify_Env();
|
||||
$sourceFactory = new Minify_Source_Factory($env, [
|
||||
$sourceFactory = new Minify_Source_Factory($env, array(
|
||||
'checkAllowDirs' => false,
|
||||
], $this->cache);
|
||||
), $this->cache);
|
||||
$controller = new Minify_Controller_Files($env, $sourceFactory);
|
||||
|
||||
$options = array_merge($options, array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user