63 if (isset(self::$instance) and self::$instance) {
64 return self::$instance;
89 $this->open_robots = (bool) $this->
settings->get(
'open_google',
false);
101 if (!function_exists(
'apache_lookup_uri')) {
105 $url = ILIAS_HTTP_PATH .
'/goto_' . CLIENT_ID .
'_root_1.html';
106 $status_info = @apache_lookup_uri(
$url);
109 if ($status_info ===
false && ini_get(
'allow_url_fopen')) {
111 $fp = @fopen(
$url,
'r');
119 return $status_info->status == 200;
checkRewrite()
Indirect Check of allow override.
static _getInstance()
Get instance.
robotSupportEnabled()
Check if client is open for robots.
__construct()
Private constructor => use getInstance.