Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
9 changed files with 4 additions and 3 deletions
Showing only changes of commit 0b04c22b58 - Show all commits

View File

@ -41,6 +41,7 @@ function _dir()
// Define base directories
$APP_DIR = _dir(__DIR__, 'app');
$APPCONF_DIR = _dir($APP_DIR, 'appConf');
$CONF_DIR = _dir($APP_DIR, 'config');
// Load composer autoloader
@ -61,7 +62,7 @@ $whoops->register();
// -----------------------------------------------------------------------------
// Dependency Injection setup
// -----------------------------------------------------------------------------
require _dir($CONF_DIR, 'base_config.php'); // $base_config
require _dir($APPCONF_DIR, 'base_config.php'); // $base_config
$di = require _dir($APP_DIR, 'bootstrap.php');
$config = loadToml($CONF_DIR);

View File

@ -160,7 +160,7 @@ class CSSMin extends BaseMin {
// --------------------------------------------------------------------------
//Get config files
$config = require('../app/config/minify_config.php');
$config = require('../app/appConf/minify_config.php');
$groups = require($config['css_groups_file']);
if ( ! array_key_exists($_GET['g'], $groups))

View File

@ -233,7 +233,7 @@ class JSMin extends BaseMin {
// ! Start Minifying
// --------------------------------------------------------------------------
$config = require_once('../app/config/minify_config.php');
$config = require_once('../app/appConf/minify_config.php');
$groups = require_once($config['js_groups_file']);
$cache_dir = "{$config['js_root']}cache";