diff --git a/application/controllers/Debug.php b/application/controllers/Debug.php index 2a02817ec..7f889045b 100644 --- a/application/controllers/Debug.php +++ b/application/controllers/Debug.php @@ -168,7 +168,8 @@ class Debug extends CI_Controller public function wavelog_version() { $version_tag = $this->optionslib->get_option('version'); - echo $version_tag; + header('Content-Type: application/json'); + echo json_encode($version_tag); } public function migrate_userdata() {