Browse Source

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

jan 11 years ago
parent
commit
e4080c02f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/helpers.php

+ 1 - 1
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}="))
 		{