com web/bugs: PHP 5.4 is minimal required version: README.md include/prepend.php
| From: | sobak@php.net | Date: | Sun, 18 May 2014 17:24:16 +0000 |
| Subject: | com web/bugs: PHP 5.4 is minimal required version: README.md include/prepend.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-18937@lists.php.net to get a copy of this message | ||
Commit: f7cc97c2005f215219a73fc9d030f445f14006be
Author: Sobak <msobaczewski@gmail.com> Sun, 18 May 2014 19:24:16 +0200
Parents: 08e7b88d8b4003e3eae1fbf5555f4862efd2e93c
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=f7cc97c2005f215219a73fc9d030f445f14006be
Log:
PHP 5.4 is minimal required version
Changed paths:
M README.md
M include/prepend.php
Diff:
diff --git a/README.md b/README.md
index 46b1bf3..de8df64 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,10 @@ PHP Bug Tracking System
=======================
This was a collaboration between PEAR, PECL and PHP core to create a unified bug tracker.
+Requirements
+============
+- PHP 5.4+
+
Installation
============
1. Copy
local_config.php.sample to local_config.php and modify
accordingly
diff --git a/include/prepend.php b/include/prepend.php
index 10a16fb..b20b7ce 100644
--- a/include/prepend.php
+++ b/include/prepend.php
@@ -1,10 +1,5 @@
<?php
-// magic_quotes_gpc is no longer supported!
-if (get_magic_quotes_gpc()) {
- die('Turn off "magic_quotes_gpc" in php.ini!');
-}
-
// Enable output compression
ini_set('zlib.output_compression', 1);
@@ -31,7 +26,7 @@ if (file_exists($local_cfg)) {
'db_user' => 'nobody',
'db_pass' => '',
'db_host' => 'localhost',
- 'patch_tmp' => "{$ROOT_DIR}/uploads/patches/",
+ 'patch_tmp' => "{$ROOT_DIR}/uploads/patches/",
);
define('DEVBOX', false);
}
@@ -71,4 +66,3 @@ if (empty($dbh))
// Last Updated..
$tmp = filectime($_SERVER['SCRIPT_FILENAME']);
$LAST_UPDATED = date('D M d H:i:s Y', $tmp - date('Z', $tmp)) . '
UTC';
-