Commit:    0452e9b401061e97f099ce8af2d5feff7f420274
Author:    Christoph M. Becker <cmbecke...@gmx.de>         Wed, 25 Jul 2018 
16:04:34 +0200
Parents:   3e036143980cbd629bb626db49c3d2e607e4423f
Branches:  master

Link:       
http://git.php.net/?p=web/qa.git;a=commitdiff;h=0452e9b401061e97f099ce8af2d5feff7f420274

Log:
Forbid usage of reports/test-insert.php

This script is for *local* testing purposes only, and better should not
run in the production environment.

Changed paths:
  M  reports/test-insert.php


Diff:
diff --git a/reports/test-insert.php b/reports/test-insert.php
index 83597a0..f0c73b8 100644
--- a/reports/test-insert.php
+++ b/reports/test-insert.php
@@ -16,6 +16,9 @@
 #  +----------------------------------------------------------------------+
 #   $Id$
 
+header('HTTP/1.0 403 Forbidden');
+die('This script is for local testing purposes only! Uncomment these lines to 
use it.');
+
 error_reporting(E_ALL);
 
 require 'parserfunc.php';


--
PHP Quality Assurance Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to