X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fselector%2Fclass_ApplicationSelector.php;h=8d6d914463151236089ab5882313b0bb4d3b2749;hp=1f664a66f85adec338d7057d5166523ddf77d34e;hb=8ff12f905898b0c2b7ff8124c9749ad6fb9c44f3;hpb=a2cc983f5fe910115d25800c258875a3919fb143 diff --git a/application/selector/class_ApplicationSelector.php b/application/selector/class_ApplicationSelector.php index 1f664a6..8d6d914 100644 --- a/application/selector/class_ApplicationSelector.php +++ b/application/selector/class_ApplicationSelector.php @@ -187,10 +187,7 @@ class ApplicationSelector extends BaseFrameworkSystem { */ public function readApplicationDirectory () { // Generate the base path for all applications - $appBasePath = sprintf("%s%s/", - $this->getConfigInstance()->readConfig('base_path'), - $this->getConfigInstance()->readConfig('application_path') - ); + $appBasePath = $this->getConfigInstance()->readConfig('application_path'); // Add the selector path to the ignore list $this->addDirIgnoreList($this->getConfigInstance()->readConfig('selector_path')); @@ -198,7 +195,7 @@ class ApplicationSelector extends BaseFrameworkSystem { // Get a directory pointer for the application path $dirInstance = FrameworkDirectoryPointer::createFrameworkDirectoryPointer($appBasePath); - // Backup and remove the 'app' from global name space + // Backup and remove the 'app' from local name space /*$appBackup = $app; unset($app);*/