Permalink
Browse files

Fix bug

  • Loading branch information...
1 parent 7cacda3 commit 5dae10e746a972f37dcded0ba915940097aadf64 @k1LoW committed Feb 27, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 recipe.php
View
@@ -60,7 +60,10 @@ protected function _getShellFromUrl() {
App::uses('Shell', 'Console');
App::uses('AppShell', 'Console/Command');
- require_once('RecipeShell.php'); // debug
+ $url = 'https://raw.github.com/k1LoW/recipe/master/RecipeShell.php';
+ $cmd = 'wget ' . $url . ' --no-check-certificate -O ' . TMP . 'RecipeShell.php;';
+ exec($cmd);
+ require TMP . 'RecipeShell.php';
$Shell = new RecipeShell();
return $Shell;

0 comments on commit 5dae10e

Please sign in to comment.