ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/home2/selectio/www/bharath/application/libraries/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/home2/selectio/www/bharath/application/libraries/Jsonlib.php

<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Jsonlib {

    var $CI;

    function __construct() {
        $this->CI = & get_instance();
        
    }

    public function output($status= 200, $array=array()) {
            return $this->CI->output
            ->set_content_type('application/json')
            ->set_status_header($status)
            ->set_output(json_encode($array));
    }

}

Zerion Mini Shell 1.0