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