mirror of
https://github.com/mrclay/minify.git
synced 2025-08-10 16:14:18 +02:00
Fix index names on config paths array.
This commit is contained in:
@@ -36,10 +36,10 @@ if (!empty($min_customConfigPaths)) {
|
||||
}
|
||||
|
||||
// load config
|
||||
require $min_configPaths['config.php'];
|
||||
require $min_configPaths['standard'];
|
||||
|
||||
if (isset($_GET['test'])) {
|
||||
include $min_configPaths['config-test.php'];
|
||||
include $min_configPaths['test'];
|
||||
}
|
||||
|
||||
require "$min_libPath/Minify/Loader.php";
|
||||
@@ -79,7 +79,7 @@ if (preg_match('/&\\d/', $_SERVER['QUERY_STRING'])) {
|
||||
}
|
||||
if (isset($_GET['g'])) {
|
||||
// well need groups config
|
||||
$min_serveOptions['minApp']['groups'] = (require $min_configPaths['groupsConfig.php']);
|
||||
$min_serveOptions['minApp']['groups'] = (require $min_configPaths['groups']);
|
||||
}
|
||||
if (isset($_GET['f']) || isset($_GET['g'])) {
|
||||
// serve!
|
||||
|
Reference in New Issue
Block a user