'starter', // The application starter (calls entryPoint(), etc.)
);
+// Cache base path/file here
+$basePathFile = FrameworkConfiguration::getInstance()->readConfig('application_path') . FrameworkConfiguration::getInstance()->readConfig('app_name');
+
// Load them all (try only)
foreach ($configAppIncludes as $appInc) {
// Skip starter in test mode
}
// Generate a FQFN for the helper class
- $appFqFn = FrameworkConfiguration::getInstance()->readConfig('application_path') . FrameworkConfiguration::getInstance()->readConfig('app_name') . '/' . $appInc . '.php';
+ $appFqFn = $basePathFile . '/' . $appInc . '.php';
// Does the include file exists?
if ((file_exists($appFqFn)) && (is_file($appFqFn)) && (is_readable($appFqFn))) {
}
// Remove variables from namespace, which we don't need
-unset($appInc, $configAppIncludes, $appFqFn);
+unset($appInc, $configAppIncludes, $appFqFn, $basePathFile);
// [EOF]
?>