3declare(strict_types=1);
44 self::$instance =
new self();
61 private function read(): void
63 $this->open_robots = (bool) $this->
settings->get(
'open_google',
null);
72 if (!function_exists(
'apache_lookup_uri')) {
76 $url = ILIAS_HTTP_PATH .
'/goto_' .
CLIENT_ID .
'_root_1.html';
77 $status_info = @apache_lookup_uri(
$url);
80 if ($status_info ===
false && ini_get(
'allow_url_fopen')) {
82 $fp = @fopen(
$url,
'r');
90 return $status_info->status == 200;
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
robotSupportEnabled()
Check if client is open for robots.
checkRewrite()
Indirect Check of allow override @access public.
read()
Read settings @access private.
__construct()
Private constructor => use getInstance.
static getInstance()
get singleton instance
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...