public function executeManifest() { $request = sfContext::getInstance()->getRequest(); //symfony 1.0 compatibility if (method_exists($context, 'getConfiguration') && method_exists($context->getConfiguration(), 'loadHelpers')) { $context->getConfiguration()->loadHelpers('Url'); } else { if (method_exists('sfLoader', 'loadHelpers')) { sfLoader::loadHelpers('Url'); //maintain compatibility to symfony versions prior to 1.3 } } sfConfig::set('sf_web_debug', false); $this->setLayout(false); $this->getResponse()->setContentType('text/cache-manifest'); $this->files = array(jfPortableDevice::extendUrl(url_for(jfPortableDevice::getConfig('startUrl')))); // $this->files = $this->getCacheManifestFilesForConfig(jfPortableDevice::getConfig('includeJavascriptsForApp'), 'javascript_path'); // $this->files = $this->getCacheManifestFilesForConfig(jfPortableDevice::getConfig('includeStylesheetsForApp'), 'stylesheet_path', $this->files); // $this->files = $this->getCacheManifestFilesForDirectory(sfConfig::get('sf_web_dir').jfPortableDevice::getConfig('jfPDTheme'), $this->files); }