19declare(strict_types=1);
47 self::$instance =
new self();
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;
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