X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fselector.php;h=00b1dffbb1303eec8d6c9947743ce2fa49c8017f;hp=3554c3daef22e6b8e75bc0f5cf909857bfbbd45d;hb=8cc44455576c4ee3145803229bf1d80e17d1eb85;hpb=81f3737c2379f59e278cacc1ce2c8bf833200cd5 diff --git a/inc/selector.php b/inc/selector.php index 3554c3da..00b1dffb 100644 --- a/inc/selector.php +++ b/inc/selector.php @@ -31,6 +31,7 @@ $configAppIncludes = array( 'exceptions', // The application's own exception handler 'loader', // The application's class loader 'config', // The application's own configuration + 'config-local', // Local configuration file (optional) 'data', // Application data 'init', // The application initializer 'starter', // The application starter (calls entryPoint(), etc.) @@ -51,7 +52,7 @@ foreach ($configAppIncludes as $appInc) { if (($appInc == 'starter') && (defined('TEST'))) { // Skip it here continue; - } + } // END - if // Generate a FQFN for the helper class $appFqFn = $basePathFile . '/' . $appInc . '.php'; @@ -71,7 +72,10 @@ foreach ($configAppIncludes as $appInc) { } // Remove variables from namespace, which we don't need -unset($appInc, $configAppIncludes, $appFqFn, $basePathFile); +unset($appInc); +unset($configAppIncludes); +unset($appFqFn); +unset($basePathFile); // [EOF] ?>