| Total Complexity | 1 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class RobotsTxtAsset extends Asset{ |
||
| 8 | |||
| 9 | public $name = 'Robots.txt'; |
||
| 10 | public $shortname = 'robots_txt'; |
||
| 11 | public $max_instances = 1; |
||
| 12 | |||
| 13 | public $private = true; //this is not a standard public facing page! |
||
| 14 | |||
| 15 | public $meta_description = 'off'; // set to 'off' to turn it off |
||
| 16 | public $meta_keywords = 'off'; // set to 'off' to turn it off |
||
| 17 | |||
| 18 | public $value_equals = 'entries'; |
||
| 19 | public $properties = array( |
||
| 20 | 'entries' => array( |
||
| 21 | 'name' => 'Entries', |
||
| 22 | 'type' => self::TEXT, |
||
| 23 | 'required' => false, |
||
| 24 | 'help' => 'setup your robots.txt file here' |
||
| 25 | ) |
||
| 26 | ); |
||
| 27 | |||
| 28 | public static function about() { |
||
| 33 |