Commit ce2bbd5c by Tobin

Merge branch 'master' of https://gitlab.techware.co.in/timeout/timeOut into tobin

parents 9ac53d8a 837bdfe0
...@@ -74,11 +74,11 @@ $active_group = 'default'; ...@@ -74,11 +74,11 @@ $active_group = 'default';
$query_builder = TRUE; $query_builder = TRUE;
$db['default'] = array( $db['default'] = array(
'dsn' => '', 'dsn' => '',
'hostname' => '192.168.140.123', 'hostname' => 'localhost',
'username' => 'root', 'username' => 'nuvento_timeout',
'password' => 'Golden_123', 'password' => 'Golden_123',
'database' => 'tobin_eventTimeOut', 'database' => 'nuvento_timeout',
'dbdriver' => 'mysqli', 'dbdriver' => 'mysqli',
'dbprefix' => '', 'dbprefix' => '',
'pconnect' => FALSE, 'pconnect' => FALSE,
......
...@@ -735,7 +735,7 @@ class Organizer_model extends CI_Model { ...@@ -735,7 +735,7 @@ class Organizer_model extends CI_Model {
public function getLanguages(){ public function getLanguages(){
try{ try{
$sql = "SELECT country_id AS lang_id,language_code AS lang,language FROM country WHERE status='1' ORDER BY language_code ASC"; $sql = "SELECT country_id AS lang_id,language_code AS lang,language,country_name,country_code FROM country WHERE status='1' ORDER BY language_code ASC";
$lang = $this->db->query($sql); $lang = $this->db->query($sql);
if(empty($lang) || empty($lang = $lang->result_array())){ if(empty($lang) || empty($lang = $lang->result_array())){
$res = array('status'=>0,'message'=>'No Data Found','code'=>'ER05'); $res = array('status'=>0,'message'=>'No Data Found','code'=>'ER05');
......
...@@ -2078,7 +2078,7 @@ class Webservice_model extends CI_Model { ...@@ -2078,7 +2078,7 @@ class Webservice_model extends CI_Model {
return $res; return $res;
} }
public function get_hotel_city_list($data){ public function get_hotel_city_list($data){
try{ try{
$user_id = $this->auth_token_get($data['auth_token']); $user_id = $this->auth_token_get($data['auth_token']);
if($user_id > 0) { if($user_id > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment