WFuserdata . '/tmp/' . $config->WFdbname); // delete cache files $serviceCacheFile = $installerCacheConfig->getServiceCacheFile(); $javascriptCacheFile = $installerCacheConfig->getJavascriptCacheFile(); @unlink($serviceCacheFile); @unlink($javascriptCacheFile); // create new cache try { echo "START File Cache Generator\r\n"; $resolver = new Psr4ClassNameResolver(); $resolver->addNamespace('Xentral\\', __DIR__ . '/classes'); $resolver->excludeFile(__DIR__ . '/classes/bootstrap.php'); $generator = new ClassMapGenerator($resolver, __DIR__); $installer = new Installer($generator, $resolver); $writer = new InstallerCacheWriter($installerCacheConfig, $installer); echo "WRITING ServiceMap\r\n"; $writer->writeServiceCache(); echo "WRITING JavascriptMap\r\n"; $writer->writeJavascriptCache(); echo "FINISHED File Cache Generator\r\n"; } catch (Exception $e) { echo "ERROR " . $e->getMessage() . "\r\n"; }