This commit is contained in:
arzynik 2014-05-09 08:54:53 -07:00
parent df1daf3ee0
commit 3ea87ec82d
2 changed files with 15 additions and 2 deletions

View File

@ -0,0 +1,15 @@
<?php
header('Content-type: text/txt');
switch ($_SERVER['SERVER_NAME']) {
case '_DOMAIN_':
echo "User-agent: *\nDisallow: ";
break;
default:
echo "User-agent: *\nDisallow: /";
break;
}
exit;

View File

@ -1,2 +0,0 @@
User-agent: *
Disallow: