Add NAMESPACE support (not activated, but just needed to add the namespace on top of file)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4630 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -13,7 +13,7 @@ class outputjson extends output
|
||||
function __construct ()
|
||||
{
|
||||
if (!function_exists ("json_encode"))
|
||||
throw new Exception ("JSON support not available in PHP ! apt-get ".
|
||||
throw new \Exception ("JSON support not available in PHP ! apt-get ".
|
||||
"install php5-json", 500);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user