mirror of
https://github.com/mrclay/minify.git
synced 2025-08-30 17:19:54 +02:00
Merge pull request #476 from mrclay/symlinks_3
Allow specifying files via $min_symlinks paths
This commit is contained in:
@@ -54,6 +54,7 @@ $env = new Minify_Env(array(
|
||||
// TODO probably should do this elsewhere...
|
||||
$min_serveOptions['minifierOptions']['text/css']['docRoot'] = $env->getDocRoot();
|
||||
$min_serveOptions['minifierOptions']['text/css']['symlinks'] = $min_symlinks;
|
||||
$min_serveOptions['minApp']['symlinks'] = $min_symlinks;
|
||||
// auto-add targets to allowDirs
|
||||
foreach ($min_symlinks as $uri => $target) {
|
||||
$min_serveOptions['minApp']['allowDirs'][] = $target;
|
||||
|
Reference in New Issue
Block a user