2 require_once(
'class.ilWACSignedPath.php');
69 if (isset(
$_SERVER[
'REMOTE_ADDR'])) {
106 $salt_file =
'./data/wacsalt.php';
113 if (self::getSALT()) {
120 self::setSALT($salt);
131 $template = file_get_contents(
'./Services/WebAccessChecker/wacsalt.php.template');
133 self::setSALT($salt);
134 $template = str_replace(
'INSERT_SALT', $salt, $template);
235 return md5($this->
id);
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
__construct($path, $client, $timestamp=null, $ttl=null)
ilWACToken constructor.
const DATA_DIR_NON_WRITEABLE
Create styles array
The data for the language used.
setSessionId($session_id)
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.
static getTokenMaxLifetimeInSeconds()