static function &getInstalledData() { if (self::$installedData === null) { $file = appPATH . 'qg/qgInstalled.txt'; if (is_file($file)) { self::$installedData = unserialize(file_get_contents($file)); } } return self::$installedData; }