Skip to content

Update Application.php with DIRECTORY_SEPARATOR constants#7635

Merged
taylorotwell merged 1 commit intolaravel:5.0from
portonefive:patch-1
Feb 27, 2015
Merged

Update Application.php with DIRECTORY_SEPARATOR constants#7635
taylorotwell merged 1 commit intolaravel:5.0from
portonefive:patch-1

Conversation

@portonefive
Copy link
Copy Markdown

Fix application paths to use DIRECTORY_SEPARATOR for Windows support.

Fix application paths to use DIRECTORY_SEPARATOR for Windows support.
taylorotwell added a commit that referenced this pull request Feb 27, 2015
Update Application.php with DIRECTORY_SEPARATOR constants
@taylorotwell taylorotwell merged commit 6ed86a1 into laravel:5.0 Feb 27, 2015
@portonefive portonefive deleted the patch-1 branch February 27, 2015 01:32
@GrahamCampbell
Copy link
Copy Markdown
Collaborator

Whaaaat? This is totally not required!

@portonefive
Copy link
Copy Markdown
Author

If you would like to support Windows it is necessary. Please see the discussion at #7632

@GrahamCampbell
Copy link
Copy Markdown
Collaborator

I have read, I just don't really like this solution. No point in wasting any more time on it.

@tekkenking
Copy link
Copy Markdown

I just experience this error today after updating on laravel 5.1..

To solve the error you'll have to go to Illuminate\Foundation\Bootstrap\LoadConfiguration

Go to line 72 i think.

And change

$files[$nesting.basename($file->getRealPath(), '.php')] = $file->getRealPath();

To

$files[basename($file->getRealPath(), '.php')] = $file->getRealPath();

Works for me..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants