gyro/modules/robots/install/check_preconditions.php
Go to the documentation of this file.00001 <?php 00002 function robots_check_preconditions() { 00003 $ret = new Status(); 00004 $webroot = Config::get_value(Config::URL_ABSPATH); 00005 if (file_exists($webroot . 'robots.txt')) { 00006 $ret->append('There is a robots.txt in webroot. Robots module will not work, unless you remove it!'); 00007 } 00008 return $ret; 00009 }