Commit 0cd96e72 by Vitalik

Add json.php for php 5.5

parent 89ecc548
Pipeline #178 skipped
......@@ -2,6 +2,15 @@
$config = require PATH_BASE . '/config.php';
if ( ! function_exists('json_encode')) {
require_once('json.php');
function json_encode($var) {
$JSON = new Services_JSON;
return $JSON->encode($var);
}
}
function connect_db()
{
global $config;
......
This diff is collapsed. Click to expand it.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment