mirror of
https://github.com/mrclay/minify.git
synced 2025-02-23 00:12:36 +01:00
17 lines
424 B
PHP
17 lines
424 B
PHP
<?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(array('_', '\\'), DIRECTORY_SEPARATOR, $name) . '.php';
|
|
}
|
|
spl_autoload_register('min_autoload');
|