Permalink
Browse files

Easier config testing

  • Loading branch information...
1 parent 2275d21 commit f40f4e4f563b71c5a2d53df74a7dd203c344838b @mrclay committed Mar 15, 2012
Showing with 14 additions and 0 deletions.
  1. 0 min/builder/.htaccess
  2. +10 −0 min/config-test.php
  3. +4 −0 min/index.php
View
No changes.
View
@@ -0,0 +1,10 @@
+<?php
+/**
+ * Additional configuration applied when the variable "test" is added to the querystring.
+ *
+ * To test config options, place them in this file and add "&test" to your Minify URL.
+ * Note that if this is on a public server, anyone can execute your test.
+ *
+ * @package Minify
+ */
+
View
@@ -12,6 +12,10 @@
// load config
require MINIFY_MIN_DIR . '/config.php';
+if (isset($_GET['test'])) {
+ include MINIFY_MIN_DIR . '/config-test.php';
+}
+
// setup include path
set_include_path($min_libPath . PATH_SEPARATOR . get_include_path());

0 comments on commit f40f4e4

Please sign in to comment.