]> _ Git - fluidbook-v3.git/commitdiff
Done #1408 @0.25
authorstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 16 May 2017 12:18:02 +0000 (12:18 +0000)
committerstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 16 May 2017 12:18:02 +0000 (12:18 +0000)
framework/application/controllers/SeoController.php [new file with mode: 0644]

diff --git a/framework/application/controllers/SeoController.php b/framework/application/controllers/SeoController.php
new file mode 100644 (file)
index 0000000..8be960b
--- /dev/null
@@ -0,0 +1,15 @@
+<?php
+
+class SeoController extends CubeIT_Controller_SeoController {
+
+    public function robotsAction() {
+        parent::robotsAction();
+
+        $robotsConfig = $this->getOpt('seo.robots', true);
+
+        if ($robotsConfig) {
+            echo "Disallow: /references/\n";
+        }
+    }
+
+}
\ No newline at end of file