Support the ongoing development of Laravel.io →

thewinterwind

Joined 12 May 2014

Statistics

Threads 1
Replies 45
Solutions 4
Articles 0

php artisan routes not working with $_SERVER['HTTP_HOST'] ?

In my app's bootstrap code I need to use $_SERVER['HTTP_HOST'] to do some initialization. Problem is...

Likes Replies
Solved
replied 8 years ago

Laravel content translation

You can use the lang files. You don't want to translate the html. You want to translate text nodes....

0 Likes
replied 8 years ago

Get path to config directory from package

Why not just give them the option to publish config files (in app/config), and they can specify thei...

0 Likes
replied 8 years ago

Dependency injection & nesting

I think I've seen this error about a year ago, seems you have endless recursion in your PHP. If A re...

0 Likes
replied 8 years ago

Replace method in Eloquent

This doesn't have anything to do with Eloquent. You should extract this replacement behaviour to its...

0 Likes
replied 8 years ago

Call to a member function getClientOriginalName() on a non-object

You can try to debug a bit on your own first. If it's telling you $file is a non-object, the first q...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.