19 declare(strict_types=1);
47 self::$instance =
new self();
49 return self::$instance;
64 private function read(): void
66 $this->open_robots = (bool) $this->
settings->get(
'open_google',
null);
75 if (!function_exists(
'apache_lookup_uri')) {
79 $url = ILIAS_HTTP_PATH .
'/goto_' .
CLIENT_ID .
'_root_1.html';
80 $status_info = @apache_lookup_uri(
$url);
83 if ($status_info ===
false && ini_get(
'allow_url_fopen')) {
85 $fp = @fopen(
$url,
'r');
93 return $status_info->status == 200;
checkRewrite()
Indirect Check of allow override public.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
robotSupportEnabled()
Check if client is open for robots.
static getInstance()
get singleton instance
__construct()
Private constructor => use getInstance.
read()
Read settings private.