Commit:    d9f950bb39f8a9f7f8b9d794d6856f170fec16c3
Author:    Kalle Sommer Nielsen <[email protected]>         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});


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to