Permalink
Browse files

merge pull request to resolve clear cache

  • Loading branch information...
2 parents 972b569 + dbd43e3 commit acc27ed6701bddbc5fcb38235ff9415b671b6442 @alistairstead committed Aug 29, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/mage.rb
  2. +1 −1 lib/magentify/version.rb
View
@@ -68,7 +68,7 @@
Clear the Magento Cache
DESC
task :cc, :roles => [:web, :app] do
- run "cd #{current_path}#{app_webroot} && rm -rf var/cache/*"
+ run "cd #{current_path}#{app_webroot} && php -r \"require_once('app/Mage.php'); Mage::app()->cleanCache();\""
end
desc <<-DESC
View
@@ -1,3 +1,3 @@
module Magentify
- VERSION = "0.0.5"
+ VERSION = "0.0.6
end

0 comments on commit acc27ed

Please sign in to comment.