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


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

Reply via email to