-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
dale@svn.wikimedia.org wrote:
window.domain = 'www.parent.domain.com';
window.domain = '<?=$parent_domain?>';
Just a note -- I strongly recommend against using the "short tags" (<? and <?= instead of <?php), as your code won't work at all on a server with short tags disabled in php.ini.
Portable code should use the long-form tags consistently.
- -- brion vibber (brion @ wikimedia.org)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
fixing...
- --michael
Brion Vibber wrote:
dale@svn.wikimedia.org wrote:
window.domain = 'www.parent.domain.com';
window.domain = '<?=$parent_domain?>';
Just a note -- I strongly recommend against using the "short tags" (<? and <?= instead of <?php), as your code won't work at all on a server with short tags disabled in php.ini.
Portable code should use the long-form tags consistently.
-- brion vibber (brion @ wikimedia.org)
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org