You are here

public static function Server::getURL in Anti Spam by CleanTalk 9.1.x

Same name and namespace in other branches
  1. 8.4 src/lib/Cleantalk/Common/Variables/Server.php \Cleantalk\Common\Variables\Server::getURL()

File

src/lib/Cleantalk/Common/Variables/Server.php, line 115

Class

Server
Class Server Wrapper to safely get $_SERVER variables

Namespace

Cleantalk\Common\Variables

Code

public static function getURL() {
  return substr(self::getHomeURL(), 0, -1) . self::get('REQUEST_URI');
}