Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
TimeOutAdmin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TimeOut
TimeOutAdmin
Commits
ce2bbd5c
Commit
ce2bbd5c
authored
Nov 12, 2019
by
Tobin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.techware.co.in/timeout/timeOut
into tobin
parents
9ac53d8a
837bdfe0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
database.php
application/config/database.php
+5
-5
Organizer_model.php
application/models/Organizer_model.php
+1
-1
Webservice_model.php
application/models/Webservice_model.php
+1
-1
No files found.
application/config/database.php
View file @
ce2bbd5c
...
@@ -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'
=>
'
roo
t'
,
'username'
=>
'
nuvento_timeou
t'
,
'password'
=>
'Golden_123'
,
'password'
=>
'Golden_123'
,
'database'
=>
'tobin_eventTimeO
ut'
,
'database'
=>
'nuvento_timeo
ut'
,
'dbdriver'
=>
'mysqli'
,
'dbdriver'
=>
'mysqli'
,
'dbprefix'
=>
''
,
'dbprefix'
=>
''
,
'pconnect'
=>
FALSE
,
'pconnect'
=>
FALSE
,
...
...
application/models/Organizer_model.php
View file @
ce2bbd5c
...
@@ -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'
);
...
...
application/models/Webservice_model.php
View file @
ce2bbd5c
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment