1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-19 04:11:20 +02:00

Tools for easier testing

This commit is contained in:
Steve Clay
2012-02-12 23:13:06 -05:00
parent a24e9a4c22
commit 67bbc4b94e
5 changed files with 346 additions and 0 deletions

16
min_extras/config.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
// using same lib path and cache path specified in /min/config.php
require dirname(__FILE__) . '/../min/config.php';
set_include_path($min_libPath . PATH_SEPARATOR . get_include_path());
$minifyCachePath = isset($min_cachePath)
? $min_cachePath
: '';
function min_autoload($name) {
require str_replace('_', DIRECTORY_SEPARATOR, $name) . '.php';
}
spl_autoload_register('min_autoload');