fix bug#272.

This commit is contained in:
wangchunsheng
2011-11-21 05:17:32 +00:00
parent 4063eaf614
commit df0d768bf5
6 changed files with 24 additions and 0 deletions
+11
View File
@@ -88,6 +88,17 @@ class installModel extends model
return $result = extension_loaded('pdo_mysql') ? 'ok' : 'fail';
}
/**
* Check json extension.
*
* @access public
* @return string ok|fail
*/
public function checkJSON()
{
return $result = extension_loaded('json') ? 'ok' : 'fail';
}
/**
* Get tempRoot info.
*