robots.php 418 B

12345678910111213141516
  1. <?php
  2. /**
  3. * robots.txt file.
  4. *
  5. * Prints the robots.txt contents.
  6. *
  7. * @author Iñigo Valentin <i@inigovalentin.com>
  8. * @license https://www.gnu.org/licenses/gpl-3.0.en.html GNU General Public License V3
  9. * @package IV
  10. * @category View
  11. * @property Robots_Page $page The page model.
  12. * @var Robots_Page $page The page model.
  13. */
  14. ?>
  15. <?php header('Content-type: text/plain; charset=utf-8') ?>
  16. <?=$page->get_text()?>