cvs: pear /HTTP_Header Header.php LICENSE package.xml /HTTP_Header/Header Cache.php
| From: | Michael Wallner | Date: | Tue, 08 Nov 2005 19:06:15 +0000 |
| Subject: | cvs: pear /HTTP_Header Header.php LICENSE package.xml /HTTP_Header/Header Cache.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-36165@lists.php.net to get a copy of this message | ||
mike Tue Nov 8 14:06:15 2005 EDT
Added files:
/pear/HTTP_Header LICENSE
Modified files:
/pear/HTTP_Header Header.php package.xml
/pear/HTTP_Header/Header Cache.php
Log:
- fix bug #5830 fatal reference issues caused ba array_shift on functions return value
- change license to BSD
http://cvs.php.net/diff.php/pear/HTTP_Header/Header.php?r1=1.31&r2=1.32&ty=u
Index: pear/HTTP_Header/Header.php
diff -u pear/HTTP_Header/Header.php:1.31 pear/HTTP_Header/Header.php:1.32
--- pear/HTTP_Header/Header.php:1.31 Thu Sep 15 02:55:25 2005
+++ pear/HTTP_Header/Header.php Tue Nov 8 14:06:10 2005
@@ -6,20 +6,14 @@
*
* PHP versions 4 and 5
*
- * LICENSE: This source file is subject to version 3.0 of the PHP license
- * that is available through the world-wide-web at the following URI:
- * http://www.php.net/license/3_0.txt. If you did
not receive a copy of
- * the PHP License and are unable to obtain it through the web, please
- * send a note to license@php.net so we can mail you a copy immediately.
- *
* @category HTTP
* @package HTTP_Header
* @author Wolfram Kriesing <wk@visionp.de>
* @author Davey Shafik <davey@php.net>
* @author Michael Wallner <mike@php.net>
* @copyright 2003-2005 The Authors
- * @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Header.php,v 1.31 2005/09/15 06:55:25 mike Exp $
+ * @license BSD, revised
+ * @version CVS: $Id: Header.php,v 1.32 2005/11/08 19:06:10 mike Exp $
* @link http://pear.php.net/package/HTTP_Header
*/
@@ -110,9 +104,8 @@
*
* @package HTTP_Header
* @category HTTP
- * @license PHP License
* @access public
- * @version $Revision: 1.31 $
+ * @version $Revision: 1.32 $
*/
class HTTP_Header extends HTTP
{
http://cvs.php.net/diff.php/pear/HTTP_Header/package.xml?r1=1.34&r2=1.35&ty=u
Index: pear/HTTP_Header/package.xml
diff -u pear/HTTP_Header/package.xml:1.34 pear/HTTP_Header/package.xml:1.35
--- pear/HTTP_Header/package.xml:1.34 Thu Sep 15 02:55:26 2005
+++ pear/HTTP_Header/package.xml Tue Nov 8 14:06:11 2005
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.1">
-<!-- $Revision: 1.34 $ -->
+<!-- $Revision: 1.35 $ -->
<package version="1.0">
<name>HTTP_Header</name>
<summary>
@@ -32,13 +32,14 @@
</maintainer>
</maintainers>
<release>
- <version>1.1.3</version>
+ <version>1.2.0</version>
<date>2005-09-00</date>
- <license>PHP License</license>
- <state>stable</state>
+ <license>BSD, revised</license>
+ <state>beta</state>
<notes>
<![CDATA[
-* Fixed Bug #5404 - Headers cannot be unset
+* Fixed Bug #5830 - only variables can be passed by reference
+* Changed license to BSD
]]>
</notes>
<filelist>
@@ -48,6 +49,7 @@
<file role="php">Cache.php</file>
</dir>
</dir>
+ <file role="doc">LICENSE</file>
<file role="test"
install-as="response.php">tests/response.php</file>
<file role="test"
install-as="cacheresponse.php">tests/cacheresponse.php</file>
<file role="test"
install-as="header.php">tests/header.php</file>
http://cvs.php.net/diff.php/pear/HTTP_Header/Header/Cache.php?r1=1.23&r2=1.24&ty=u
Index: pear/HTTP_Header/Header/Cache.php
diff -u pear/HTTP_Header/Header/Cache.php:1.23 pear/HTTP_Header/Header/Cache.php:1.24
--- pear/HTTP_Header/Header/Cache.php:1.23 Wed Mar 30 13:15:14 2005
+++ pear/HTTP_Header/Header/Cache.php Tue Nov 8 14:06:14 2005
@@ -6,19 +6,13 @@
*
* PHP versions 4 and 5
*
- * LICENSE: This source file is subject to version 3.0 of the PHP license
- * that is available through the world-wide-web at the following URI:
- * http://www.php.net/license/3_0.txt. If you did
not receive a copy of
- * the PHP License and are unable to obtain it through the web, please
- * send a note to license@php.net so we can mail you a copy immediately.
- *
* @category HTTP
* @package HTTP_Header
* @author Wolfram Kriesing <wk@visionp.de>
* @author Michael Wallner <mike@php.net>
* @copyright 2003-2005 The Authors
- * @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Cache.php,v 1.23 2005/03/30 18:15:14 mike Exp $
+ * @license BSD, revised
+ * @version CVS: $Id: Cache.php,v 1.24 2005/11/08 19:06:14 mike Exp $
* @link http://pear.php.net/package/HTTP_Header
*/
@@ -49,9 +43,8 @@
*
* @package HTTP_Header
* @category HTTP
- * @license PHP License
* @access public
- * @version $Revision: 1.23 $
+ * @version $Revision: 1.24 $
*/
class HTTP_Header_Cache extends HTTP_Header
{
@@ -92,7 +85,7 @@
function getCacheStart()
{
if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && !$this->isPost()) {
- return strtotime(array_shift(explode(';',
+ return strtotime(current($array = explode(';',
$_SERVER['HTTP_IF_MODIFIED_SINCE'])));
}
return time();