From b8a0cac0e519719228d4156f08fdefdc3c63f377 Mon Sep 17 00:00:00 2001 From: Sam Bauers Date: Tue, 4 Feb 2014 12:13:33 +1100 Subject: [PATCH] Explain separate config storage in MIN.txt --- MIN.txt | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/MIN.txt b/MIN.txt index dbeff0f..8a42c4e 100644 --- a/MIN.txt +++ b/MIN.txt @@ -130,6 +130,37 @@ $cssUri = Minify_getUri(array( echo ""; +STORING CONFIG FILES OUTSIDE THE MINIFY DIRECTORY + +It is possible to store config files (config.php, config-test.php, groupsConfig.php) +in a custom directory outside the Minify directory. This is useful if you wish to +include Minify as an external dependency inside another project via SVN external or +Git submodule inclusion. + +For example, let's assume you have a Minify directory "min" in your site root. Then +you could create a new directory called "min-configs" in the site root. Copy any +config files you wish to modify to "min-configs", and modify as desired. + +Then create a new file, for example "min.php" in your site root. The contents of +this file could look like this: + + '/min.php')); +echo ""; + + DEBUG MODE In debug mode, instead of compressing files, Minify sends combined files with @@ -142,4 +173,4 @@ Known issue: files with comment-like strings/regexps can cause problems in this QUESTIONS? -http://groups.google.com/group/minify \ No newline at end of file +http://groups.google.com/group/minify