mirror of
https://github.com/e107inc/e107.git
synced 2025-01-16 12:18:39 +01:00
Added HTTP 503 header to sitedown.php and additional bot to robots list.
This commit is contained in:
parent
2904f1e792
commit
90ba858059
@ -409,6 +409,7 @@ class e_user_model extends e_admin_model
|
||||
'SearchSight',
|
||||
'Seekbot',
|
||||
'semanticdiscovery',
|
||||
'SemrushBot',
|
||||
'Sensis Web Crawler',
|
||||
'SEOChat::Bot',
|
||||
'SeznamBot',
|
||||
|
@ -21,6 +21,9 @@ if (!varset($pref['maintainance_flag']) && !getperms('0')) // Allow main admin t
|
||||
}
|
||||
|
||||
header('Content-type: text/html; charset=utf-8');
|
||||
header('HTTP/1.1 503 Service Temporarily Unavailable');
|
||||
header('Status: 503 Service Temporarily Unavailable');
|
||||
header('Retry-After: 3600'); // in seconds
|
||||
|
||||
e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user