com web/qa: Forbid usage of reports/test-insert.php: reports/test-insert.php

From: Date: Wed, 25 Jul 2018 14:04:34 +0000
Subject: com web/qa: Forbid usage of reports/test-insert.php: reports/test-insert.php
Groups: php.qa 
Request: Send a blank email to php-qa+get-68140@lists.php.net to get a copy of this message
Commit: 0452e9b401061e97f099ce8af2d5feff7f420274 Author: Christoph M. Becker <cmbecker69@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';

« previous php.qa (#68140) next »