com web/php: Fixed bug #69352 (Support loading Google JSAPI over HTTPS): include/prepend.inc
| From: | Paul Dragoonis | 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-21694@lists.php.net to get a copy of this message | ||
Commit: d9f950bb39f8a9f7f8b9d794d6856f170fec16c3
Author: Kalle Sommer Nielsen <kalle@php.net> Thu, 2 Apr 2015 04:03:19 +0200
Parents: af936e66c9a97b6b80842722d274158944d9be3b
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=d9f950bb39f8a9f7f8b9d794d6856f170fec16c3
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});