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:
16
min_extras/config.php
Normal file
16
min_extras/config.php
Normal 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');
|
Reference in New Issue
Block a user