Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flexydial
/
hdfc-beu-v2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8f391294
authored
2018-12-14 15:43:15 +0530
by
G Manojkumar
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added Timeout for SmsGateway
1 parent
a288bbe2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
application/app/Http/Controllers/SmsController.php
application/app/Http/Controllers/SmsController.php
View file @
8f39129
...
...
@@ -46,6 +46,7 @@ class SmsController extends Controller
curl_setopt
(
$ch
,
CURLOPT_URL
,
$url
);
curl_setopt
(
$ch
,
CURLOPT_SSL_VERIFYPEER
,
false
);
curl_setopt
(
$ch
,
CURLOPT_RETURNTRANSFER
,
true
);
curl_setopt
(
$ch
,
CURLOPT_CONNECTTIMEOUT
,
3
);
$response
=
curl_exec
(
$ch
);
Log
::
useFiles
(
storage_path
()
.
'/logs/SMS_Messages'
.
date
(
"Y-m-d"
)
.
'.log'
);
Log
::
info
(
"|"
.
date
(
'Y-m-d H:i:s'
,
strtotime
(
'+5 hours 30 minutes'
))
.
"|"
.
Auth
::
user
()
->
fullname
.
"|"
.
$kstychCall
[
'callnumber'
]
.
"|"
.
$msgText
.
"|"
.
$response
);
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment