From 76797cc5e1e6d703612bff0177acd35d1e3b8969 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Sun, 17 Aug 2008 01:08:10 +0000 Subject: [PATCH] Made all sapphire/thirdparty classes _manifest_exclude'd git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60874 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/Requirements.php | 1 + core/model/YamlFixture.php | 3 +++ thirdparty/_manifest_exclude | 0 3 files changed, 4 insertions(+) create mode 100644 thirdparty/_manifest_exclude 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 @@