diff --git a/core/Requirements.php b/core/Requirements.php index 2cc9ef7a7..41fbbe67b 100644 --- a/core/Requirements.php +++ b/core/Requirements.php @@ -526,6 +526,7 @@ class Requirements { $fileContent = file_get_contents($base . $file); // if we have a javascript file and jsmin is enabled, minify the content if(stripos($file, '.js') && self::$combine_js_with_jsmin) { + require_once('thirdparty/jsmin/JSMin.php'); $fileContent = JSMin::minify($fileContent); } // write a header comment for each file for easier identification and debugging diff --git a/core/model/YamlFixture.php b/core/model/YamlFixture.php index fee96d583..c02826644 100644 --- a/core/model/YamlFixture.php +++ b/core/model/YamlFixture.php @@ -1,4 +1,7 @@