Support the ongoing development of Laravel.io →
Installation Laravel.io
Last updated 1 year ago.
0

Seems like you are trying to do that in the public/index.php file?

0

It might be best to leave the index.php file as is.

I'm guessing you're trying to set the default PHP timezone... best to put that in one of your bootstrap files. And then you should be able to use $app['config']->get('app.timezone')

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

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.

© 2024 Laravel.io - All rights reserved.