.

gyro/modules/robots/install/check_preconditions.php File Reference

Go to the source code of this file.

Functions

  robots_check_preconditions ()

Function Documentation

robots_check_preconditions (  ) 

Definition at line 2 of file check_preconditions.php.

00002                                       {
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 }