Skip to content
Snippets Groups Projects
Commit c3673e61 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

don't allow export formats in Google index FS#1219

darcs-hash:20070809212728-7ad00-485593f2658fa217f1b70b72d60dd4ef0f59b0c3.gz
parent c9db30f9
No related branches found
No related tags found
No related merge requests found
......@@ -356,6 +356,9 @@ function act_export($act){
global $ID;
global $REV;
// search engines: never cache exported docs! (Google only currently)
header('X-Robots-Tag: noindex');
// no renderer for this
if($act == 'export_raw'){
header('Content-Type: text/plain; charset=utf-8');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment