com web/php: Fixed bug #69352 (Support loading Google JSAPI over HTTPS): include/prepend.inc
| From: | Kalle Sommer Nielsen | Date: | Thu, 02 Apr 2015 02:03:19 +0000 |
| Subject: | com web/php: Fixed bug #69352 (Support loading Google JSAPI over HTTPS): include/prepend.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-21000@lists.php.net to get a copy of this message | ||
Commit: 2c73b63d0e217c22f2f998115c2a770e7217c7d7
Author: Kalle Sommer Nielsen <kalle@php.net> Thu, 2 Apr 2015 04:03:19 +0200
Parents: 424be3254ec9b4e5a505141c99272a7ca09462ad
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=2c73b63d0e217c22f2f998115c2a770e7217c7d7
Log:
Fixed bug #69352 (Support loading Google JSAPI over HTTPS)
Bugs:
https://bugs.php.net/69352
Changed paths:
M include/prepend.inc
Diff:
diff --git a/include/prepend.inc b/include/prepend.inc
index 3e50658..23ded65 100644
--- a/include/prepend.inc
+++ b/include/prepend.inc
@@ -210,7 +210,7 @@ function google_cse($default = '', $lang = 'en') {
JavaScript and reload to continue.
</noscript>
<div id="cse" style="width: 100%;"></div>
-<script src="http://www.google.com/jsapi"
type="text/javascript"></script>
+<script src="//www.google.com/jsapi"
type="text/javascript"></script>
<script type="text/javascript">
document.getElementById("cse").innerHTML = "Loading...";
google.load('search', '1', {language : '<?php echo $lang;
?>', style : google.loader.themes.MINIMALIST});