diff --git a/code/RobotsNoindexCMSExtensions.php b/code/RobotsNoindexCMSExtensions.php index 98ff6ea..e34973a 100644 --- a/code/RobotsNoindexCMSExtensions.php +++ b/code/RobotsNoindexCMSExtensions.php @@ -1,12 +1,13 @@ '; - } - return $tags; - } - -} \ No newline at end of file + public function MetaTags(&$tags) + { + if (Director::isDev() or Director::isTest()) { + $tags .= ''; + } + return $tags; + } +} diff --git a/code/checks/InfoBox_index.php b/code/checks/InfoBox_index.php index de13509..e3d9353 100644 --- a/code/checks/InfoBox_index.php +++ b/code/checks/InfoBox_index.php @@ -1,21 +1,25 @@