From e4080c02f56881a8682d913db4904ef486669b16 Mon Sep 17 00:00:00 2001 From: jan Date: Fri, 5 Apr 2013 09:48:49 +0200 Subject: [PATCH] get_cli_option() is called outside Laravel app, so namespace prefix must be left there --- laravel/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/helpers.php b/laravel/helpers.php index 22f57a7f..4d4f3003 100644 --- a/laravel/helpers.php +++ b/laravel/helpers.php @@ -574,7 +574,7 @@ function yield($section) */ function get_cli_option($option, $default = null) { - foreach (Request::foundation()->server->get('argv') as $argument) + foreach (Laravel\Request::foundation()->server->get('argv') as $argument) { if (starts_with($argument, "--{$option}=")) {