You are here

public function AddThisScriptManager::isHttps in AddThis 7.4

Return if we are on https connection.

Return value

bool TRUE if the current request is on https.

1 call to AddThisScriptManager::isHttps()
AddThisScriptManager::correctSchemaIfHttps in classes/Services/AddThisScriptManager.php
Change the schema from http to https if we are on https.

File

classes/Services/AddThisScriptManager.php, line 62
Class definition of a script manager.

Class

AddThisScriptManager
@file Class definition of a script manager.

Code

public function isHttps() {
  global $is_https;
  return $is_https;
}