Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit b24554f

Browse files
committed
Fix google shortner api key - Close #1030
1 parent 442b484 commit b24554f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/plugins/shorten.multi/class.multiShortener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function postProcess($action, $httpVars, $params)
9090
)
9191
);
9292

93-
$goourl = 'https://www.googleapis.com/urlshortener/v1/url';
93+
$goourl = 'https://www.googleapis.com/urlshortener/v1/url?key='.$type["GOOGL_APIKEY"];
9494
$context = stream_context_create( $options );
9595
$result = file_get_contents( $goourl, false, $context );
9696
$json = (array) json_decode( $result );

0 commit comments

Comments
 (0)