minor changes that raise a tidy warning
[lhc/web/wiklou.git] / trackback.php
index a2c9d8d..f00f040 100644 (file)
@@ -7,6 +7,11 @@
 
 unset($IP);
 define('MEDIAWIKI', true);
+if ( isset( $_REQUEST['GLOBALS'] ) ) {
+       echo '<a href="http://www.hardened-php.net/index.76.html">$GLOBALS overwrite vulnerability</a>';
+       die( -1 );
+}
+
 require_once('./includes/Defines.php');
 
 if (!file_exists('LocalSettings.php'))
@@ -73,3 +78,4 @@ $dbw->insert('trackbacks', array(
 
 XMLsuccess();
 exit;
+?>