get_cli_option() is called outside Laravel app, so namespace prefix must be left there

This commit is contained in:
jan 2013-04-05 09:48:49 +02:00
parent 3cd624eac8
commit e4080c02f5
1 changed files with 1 additions and 1 deletions

View File

@ -574,7 +574,7 @@ function yield($section)
*/ */
function get_cli_option($option, $default = null) 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}=")) if (starts_with($argument, "--{$option}="))
{ {