# HG changeset patch # User Dan # Date 1251605133 14400 # Node ID 8fae8fb3cbb1ca45d89dc8d8b4b8890006ead74e # Parent 30d8bb88572d83f56a1169474a1728c8f3d0b787 json2: fixed order of exception classes, it threw fits about missing Zend_Exception in ubuntu's latest PHP 5.2.6 diff -r 30d8bb88572d -r 8fae8fb3cbb1 includes/json2.php --- a/includes/json2.php Fri Aug 21 20:41:38 2009 -0400 +++ b/includes/json2.php Sun Aug 30 00:05:33 2009 -0400 @@ -969,6 +969,15 @@ /** * @category Zend + * @package Zend + * @copyright Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com) + * @license http://framework.zend.com/license/new-bsd New BSD License + */ +class Zend_Exception extends Exception +{} + +/** + * @category Zend * @package Zend_Json * @copyright Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License @@ -977,15 +986,6 @@ {} /** - * @category Zend - * @package Zend - * @copyright Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com) - * @license http://framework.zend.com/license/new-bsd New BSD License - */ -class Zend_Exception extends Exception -{} - -/** * Class for encoding to and decoding from JSON. * * @category Zend