/** * Temporarily revert the global URL variables so verbose links will print. */ protected function verbose($message) { if ($this->remoteUrl) { foreach (self::$URL_VARIABLES as $variable) { $GLOBALS[$variable] = $this->originalUrls[$variable]; } } parent::verbose($message); if ($this->remoteUrl) { foreach (self::$URL_VARIABLES as $variable) { $GLOBALS[$variable] = $this->remoteUrl; } $GLOBALS['base_secure_url'] = str_replace('http://', 'https://', $GLOBALS['base_secure_url']); } }