Skip to content
Permalink
Browse files

realpath app during string replacement

  • Loading branch information...
taylorotwell committed Apr 4, 2019
1 parent 505325b commit 82ded9a28621b552589aba66e4e05f9a46f46db6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Illuminate/Foundation/Console/Kernel.php
@@ -224,7 +224,7 @@ protected function load($paths)
$command = $namespace.str_replace(
['/', '.php'],
['\\', ''],
Str::after($command->getPathname(), app_path().DIRECTORY_SEPARATOR)
Str::after($command->getPathname(), realpath(app_path()).DIRECTORY_SEPARATOR)
);
if (is_subclass_of($command, Command::class) &&

0 comments on commit 82ded9a

Please sign in to comment.
You can’t perform that action at this time.