Definition:
function is_subdomain_install() {}
Whether a subdomain configuration is enabled.
Return values
returns:True if subdomain configuration is enabled, false otherwise.
Source code
function is_subdomain_install() {
if ( defined('SUBDOMAIN_INSTALL') )
return SUBDOMAIN_INSTALL;
if ( defined('VHOST') && VHOST == 'yes' )
return true;
return false;
}
2193

February 12, 2011 


No comments yet... Be the first to leave a reply!