Revision: 37903
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 20, 2010 07:19 by thisisjamessmith
Initial Code
$domainChunks = explode('.', $_SERVER['SERVER_NAME']); $subDomain = $domainChunks[0]; $global_vars['client'] = $subDomain;
Initial URL
Initial Description
Initial Title
Set subdomain as an ExpressionEngine global variable
Initial Tags
Initial Language
PHP