protected function DomainTestCase::domainResetBaseUrl in Domain Access 7.3
Resets $base_url to the initial domain.
1 call to DomainTestCase::domainResetBaseUrl()
File
- tests/
domain.test, line 132 - Simpletest for Domain Access.
Class
- DomainTestCase
- @file Simpletest for Domain Access.
Code
protected function domainResetBaseUrl() {
$domain = domain_initial_domain();
$GLOBALS['base_url'] = $domain['path'];
}