mirror of
https://github.com/mrclay/minify.git
synced 2025-08-17 11:30:55 +02:00
Use base for main config key.
This commit is contained in:
@@ -11,9 +11,9 @@ define('MINIFY_MIN_DIR', dirname(__FILE__));
|
|||||||
|
|
||||||
// set config path defaults
|
// set config path defaults
|
||||||
$min_configPaths = array(
|
$min_configPaths = array(
|
||||||
'standard' => MINIFY_MIN_DIR . '/config.php',
|
'base' => MINIFY_MIN_DIR . '/config.php',
|
||||||
'test' => MINIFY_MIN_DIR . '/config-test.php',
|
'test' => MINIFY_MIN_DIR . '/config-test.php',
|
||||||
'groups' => MINIFY_MIN_DIR . '/groupsConfig.php'
|
'groups' => MINIFY_MIN_DIR . '/groupsConfig.php'
|
||||||
);
|
);
|
||||||
|
|
||||||
// check for custom config paths
|
// check for custom config paths
|
||||||
@@ -36,7 +36,7 @@ if (!empty($min_customConfigPaths)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// load config
|
// load config
|
||||||
require $min_configPaths['standard'];
|
require $min_configPaths['base'];
|
||||||
|
|
||||||
if (isset($_GET['test'])) {
|
if (isset($_GET['test'])) {
|
||||||
include $min_configPaths['test'];
|
include $min_configPaths['test'];
|
||||||
|
Reference in New Issue
Block a user