You are here

constant PROTOCOL in ShrinkTheWeb 8

Same name and namespace in other branches
  1. 7 shrinktheweb.api.inc \PROTOCOL
4 uses of PROTOCOL
shrinktheweb_checkWebsiteThumbnailCaptured in ./shrinktheweb.api.inc
Method that checks if the thumbnail for the specified website exists.
shrinktheweb_getAccountInfo in ./shrinktheweb.api.inc
Get Account Info and return it as array.
shrinktheweb_getNoResponseImage in ./shrinktheweb.api.inc
Gets the account problem image and returns the relative path to the cached image.
shrinktheweb_getThumbnail in ./shrinktheweb.api.inc
Gets the thumbnail for the specified website, stores it in the cache, and then returns the relative path to the cached image.

File

./shrinktheweb.api.inc, line 32

Code

define('PROTOCOL', $config
  ->get('shrinktheweb_enable_https') ? 'https://' : 'http://');