This commit is contained in:
2019-10-02 10:48:28 -04:00
parent 6ecba2879c
commit c0b489a98d
21 changed files with 643 additions and 100 deletions
+5 -8
View File
@@ -27,6 +27,7 @@ class JUB_Controller extends CI_Controller {
function __construct() {
parent::__construct();
$this->load->library(array('session'));
}
protected function smart_htmlspecialchars($str) {
@@ -49,14 +50,10 @@ class JUB_Controller extends CI_Controller {
}
protected function jubabox_webapi($action, $in, &$out) {
global $savvyext;
$ret = -1;
$in['pid'] = 115;
error_log("ret = $ret");
error_log(json_encode($out));
return $ret;
$this->load->model('backend_model');
$in["action"] = $action;
$in["pid"] = 100;
return $this->backend_model->jubabox_api($in, $out);
}
function formatedMesage($msgType, $theMessage) {