public function localhost() {
        if ( strpos($this->wwwroot,'://localhost') !== false ) return true;
        if ( strpos($this->wwwroot,'://127.0.0.1') !== false ) return true;
        return false;
    }