yf_test_403 user module| File | plugins/test/modules/yf_test_403.class.php |
|---|---|
| Use | module('test_403'), URL ?object=test_403 |
| Property | Default | Description |
|---|---|---|
| None declared in this class. | ||
public function show()
public function show()
{
no_graphics(true);
header('X-Robots-Tag: noindex,nofollow,noarchive,nosnippet');
header(($_SERVER['SERVER_PROTOCOL'] ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.1') . ' 403 Forbidden');
echo 'Сайт недоступний у вашій країні<br />' . PHP_EOL . 'This website is not available in your country';
exit;
}