use Friendica\Core\L10n;
use Friendica\Core\Logger;
-use Friendica\Core\System;
/**
* All modules in Friendica should extend BaseModule, although not all modules
*/
public static function rawContent()
{
+ // echo '';
+ // exit;
}
/**
$a = \get_app();
$x = explode('.', $hash);
- if (time() > (IntVal($x[0]) + $max_livetime)) {
+ if (time() > (intval($x[0]) + $max_livetime)) {
return false;
}
$a = \get_app();
Logger::log('checkFormSecurityToken failed: user ' . $a->user['guid'] . ' - form element ' . $typename);
Logger::log('checkFormSecurityToken failed: _REQUEST data: ' . print_r($_REQUEST, true), Logger::DATA);
- header('HTTP/1.1 403 Forbidden');
- killme();
+
+ throw new \Friendica\Network\HTTPException\ForbiddenException();
}
}
}