Wednesday, October 16, 2013

Re: cakephp 1 cakes to power multiple sites

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 14.10.2013 12:52, schrieb Abc:
> Did you all know how to do different layout with different domain in same
> app?
>
I never did that so far, but how about calling different templates with
a switch on the $_SERVER['HTTP_HOST'] ( I guess that is the correct one).

Maybe not elegant, but the first ide, which came to my mind.

Calamity Jane
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlJe7BkACgkQbOdiIJzHNKExhQCgje9497xFz66fn80qggAEHWAd
ZPIAn2MNNrbgA7zIaCYrByJnCUALCFjv
=EArk
-----END PGP SIGNATURE-----

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: