Downloadify: Client-Side File Generation
Downloadify is a tiny JavaScript + Flash library that enables the generation and saving of files on the fly, in the browser, without server interaction.
Muito simples e pode vir a dar jeito
Downloadify: Client-Side File Generation
Downloadify is a tiny JavaScript + Flash library that enables the generation and saving of files on the fly, in the browser, without server interaction.
php symfony project:deploy production --go -t
sfContext::switchTo('frontend'); //switch to the environment you wish to clear sfContext::getInstance()->getViewCacheManager()->getCache()->clean(sfCache::ALL); sfContext::switchTo('backend'); //switch back to the environment you started from(Neste exemplo estamos no 'backend' e pretendemos limpar a cache do 'frontend').
$frontend_cache_dir = sfConfig::get('sf_cache_dir').'/frontoffice/prod/config/*'; system('rm -rf '.$frontend_cache_dir);