ok
Direktori : /proc/thread-self/root/home2/selectio/www/bharath/application/helpers/ |
Current File : //proc/thread-self/root/home2/selectio/www/bharath/application/helpers/json_output_helper.php |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); function json_output($statusHeader,$response) { $ci =& get_instance(); $ci->output->set_content_type('application/json'); $ci->output->set_status_header($statusHeader); $ci->output->set_output(json_encode($response)); }