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
734aac41
Commit
734aac41
authored
Oct 28, 2019
by
Jansa Jose
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.techware.co.in/timeout/timeOut
into jansa
parents
498899be
dfd8333e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
database.php
application/config/database.php
+3
-3
Webservice_model.php
application/models/Webservice_model.php
+6
-2
No files found.
application/config/database.php
View file @
734aac41
...
@@ -75,10 +75,10 @@ $query_builder = TRUE;
...
@@ -75,10 +75,10 @@ $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/Webservice_model.php
View file @
734aac41
...
@@ -1896,8 +1896,12 @@ class Webservice_model extends CI_Model {
...
@@ -1896,8 +1896,12 @@ class Webservice_model extends CI_Model {
}
else
{
}
else
{
continue
;
continue
;
}
}
$this
->
db
->
select
(
"name,phone,profile_image,profile_image_qr,customer_id"
);
$sql
=
"SELECT CUST.name,CUST.phone,CUST.profile_image,CUST.profile_image_qr,
$cust
=
$this
->
db
->
get_where
(
'customer'
,
array
(
'customer_id'
=>
$fromUsrId
));
CUST.customer_id,CAUTH.auth_token AS fcm_token
FROM customer AS CUST
INNER JOIN customer_auth AS CAUTH ON (CAUTH.user_id=CUST.customer_id)
WHERE CUST.customer_id='
$fromUsrId
'"
;
$cust
=
$this
->
db
->
query
(
$sql
);
if
(
!
empty
(
$cust
)
&&
!
empty
(
$cust
=
$cust
->
row_array
())){
if
(
!
empty
(
$cust
)
&&
!
empty
(
$cust
=
$cust
->
row_array
())){
$custData
[]
=
$cust
;
$custData
[]
=
$cust
;
}
}
...
...
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