Fixes for image generation
[shipsimu.git] / application / selector / class_ApplicationSelector.php
index 1f664a66f85adec338d7057d5166523ddf77d34e..8d6d914463151236089ab5882313b0bb4d3b2749 100644 (file)
@@ -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);*/