浏览代码

Search engines should not indexing Profiler

Geyer Pierre 14 年之前
父节点
当前提交
daeedb5705
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base.html.twig

+ 1 - 0
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base.html.twig

@@ -2,6 +2,7 @@
 <html>
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+        <meta name="robots" content="noindex,nofollow" />
         <title>{% block title 'Profiler' %}</title>
         <link rel="shortcut icon" type="image/x-icon" href="{{ asset('bundles/webprofiler/favicon.ico') }}" />
         {% block head %}