public static function getProjectInfo()
 {
     if (self::$_projectInfo) {
         return self::$_projectInfo;
     }
     require_once MagentoDebugger::getDebuggerDir() . '/libs/Zend/Exception.php';
     require_once MagentoDebugger::getDebuggerDir() . '/libs/Zend/Config/Exception.php';
     require_once MagentoDebugger::getDebuggerDir() . '/libs/Zend/Config.php';
     require_once MagentoDebugger::getDebuggerDir() . '/libs/Zend/Config/Ini.php';
     $currentHost = null;
     $currentHostName = $_SERVER['SERVER_NAME'];
     $dir = opendir(self::getDebuggerDir() . '/config');
     while ($file = readdir($dir)) {
         if (!is_file(self::getDebuggerDir() . '/config/' . $file)) {
             continue;
         }
         $fileInfo = pathinfo($file);
         if (!isset($fileInfo['extension']) || $fileInfo['extension'] != 'ini') {
             continue;
         }
         $config = new Zend_Config_Ini(self::getDebuggerDir() . '/config/' . $file, 'config');
         if ($config->name == $currentHostName) {
             $currentHost = $config->toArray();
             $currentHost['identifier'] = $fileInfo['filename'];
             break;
         }
     }
     if (!$currentHost) {
         return;
     }
     // Append data
     if (is_file(MagentoDebugger::getDebuggerDir() . '/var/' . $currentHost['identifier'] . '.project.json')) {
         $extended = file_get_contents(MagentoDebugger::getDebuggerDir() . '/var/' . $currentHost['identifier'] . '.project.json');
         $currentHost['extended'] = (array) json_decode($extended);
     }
     MagentoDebugger::setProjectDir($currentHost['dir']);
     self::$_projectInfo = $currentHost;
     return $currentHost;
 }