Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
imageapi_optimize
Commits
ddd3b81c
Commit
ddd3b81c
authored
Sep 28, 2016
by
redndahead
Committed by
jcisio
Sep 28, 2016
Browse files
Issue
#2717517
by redndahead: Update reSmush.it endpoint
parent
234f2088
Changes
1
Hide whitespace changes
Inline
Side-by-side
services/resmushit.inc
View file @
ddd3b81c
...
...
@@ -20,7 +20,7 @@ function imageapi_optimize_services_resmushit_info() {
*/
function
imageapi_optimize_services_resmushit
(
$image
,
$dst
)
{
$dst
=
drupal_realpath
(
$dst
);
$url
=
'http://
www
.resmush.it/ws.php'
;
$url
=
'http://
api
.resmush.it/ws.php'
;
$ch
=
curl_init
();
curl_setopt
(
$ch
,
CURLOPT_URL
,
$url
);
curl_setopt
(
$ch
,
CURLOPT_RETURNTRANSFER
,
1
);
...
...
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