Line 86 in /var/www/html/mrenlund.com/mysite/code/Page.php
77 'ParentID' => $this->ID, 78 'URLSegment' => rawurlencode($action) 79 ))->first(); 80 if(class_exists('Translatable')) Translatable::enable_locale_filter(); 81 } 82 83 // we found a page with this URLSegment. 84 if($child) { 85 86 $topDomain = end((explode(".",$_SERVER['HTTP_HOST']))); 87 $domainParent = Config::inst()->get($this->class, $topDomain); 88 $domainParent = is_null($domainParent) ? $child->ParentID : $domainParent; 89 90 91 //not whitin domain 92 if($child->ParentID !== $domainParent) {