X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fselector.php;h=00b1dffbb1303eec8d6c9947743ce2fa49c8017f;hb=827dedef77e161fda4b8f09be092057c00826954;hp=00f35442fbc61dbde65fd8fd8197575e21b3e20d;hpb=3b369c267715db8baefd28b85375406946270ebd;p=core.git diff --git a/inc/selector.php b/inc/selector.php index 00f35442..00b1dffb 100644 --- a/inc/selector.php +++ b/inc/selector.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @deprecated @@ -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] ?>