Support the ongoing development of Laravel.io →
pejonic

pejonic

Joined 27 Dec 2014

Statistics

Threads 1
Replies 2
Solutions 0
Articles 0

Please I need support on how to switch themes

I want to know how i can switch between https://m.sitename.com and https://www.sitename.com to displ...

Likes Replies
7 years ago

Please I need support on how to switch themes

This is how i solved it <?php if (preg_match('/localhost/', $_SERVER['HTTP_HOST'])) { $this-&...

0 Likes
7 years ago

Please I need support on how to switch themes

Ok but what i have in mind is to make it respond to sub domain because is a social site.

0 Likes

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.