Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix bug

  • Loading branch information...
commit 5dae10e746a972f37dcded0ba915940097aadf64 1 parent 7cacda3
@k1LoW authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 recipe.php
View
5 recipe.php
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.