Author: Derick Rethans (derickr)
Date: 2026-07-02T14:19:50+01:00

Commit: 
https://github.com/php/web-shared/commit/972e02f0856005f9a1e1fca6cb9bfa446ab0b4f3
Raw diff: 
https://github.com/php/web-shared/commit/972e02f0856005f9a1e1fca6cb9bfa446ab0b4f3.diff

Use FQDN for logo and favicon

Changed paths:
  M  js/common.js
  M  templates/header.inc


Diff:

diff --git a/js/common.js b/js/common.js
index d038158..dc5bc8b 100755
--- a/js/common.js
+++ b/js/common.js
@@ -35,7 +35,7 @@ function cycleHeaders(matches, forward) {
     }
 }
 Mousetrap.bind('up up down down left right left right b a enter', function() {
-    $(".home img").attr("src", "//php.net/images/php_konami.gif");
+    $(".home img").attr("src", "//www.php.net/images/php_konami.gif");
     $(window).scrollTop(0);
 });
 Mousetrap.bind("?", function() {
@@ -121,7 +121,7 @@ Mousetrap.bind("m i r r o r enter", function(e) {
 });
 Mousetrap.bind("l o g o enter", function(e) {
     var time = new Date().getTime();
-    $(".home img").attr("src", "//php.net/images/logo.php?refresh&time=" + 
time);
+    $(".home img").attr("src", "//www.php.net/images/logo.php?refresh&time=" + 
time);
     $(window).scrollTop(0);
 });
 
diff --git a/templates/header.inc b/templates/header.inc
index ccc7525..df3a7e9 100644
--- a/templates/header.inc
+++ b/templates/header.inc
@@ -53,7 +53,7 @@ endforeach
 ?>
 
   <link 
href="//fonts.googleapis.com/css?family=Fira+Sans|Source+Sans+Pro:300,400,600,400italic,600italic|Source+Code+Pro&amp;subset=latin,latin-ext"
 rel="stylesheet">
-  <link rel="shortcut icon" href="//php.net/favicon.ico">
+  <link rel="shortcut icon" href="//www.php.net/favicon.ico">
 <!--[if lt IE 9]>
   <script src="//shared.php.net/js/html5shiv.js"></script>
 <![endif]-->
@@ -67,7 +67,7 @@ endforeach
   <input type="checkbox" id="mainmenu-toggle">
   <nav class="fullscreen">
     <div class="mainscreen">
-      <a href="/" class="home"><img 
src="//php.net/images/logo.php?<?=$SUBDOMAIN?>" width="48" height="24" 
alt="php"><span class="subdomain"><?=$SUBDOMAIN?></span></a>
+      <a href="/" class="home"><img 
src="//www.php.net/images/logo.php?<?=$SUBDOMAIN?>" width="48" height="24" 
alt="php"><span class="subdomain"><?=$SUBDOMAIN?></span></a>
       <ul>
 <?php foreach($LINKS as $link): ?>
         <li class="<?php echo $CURRENT_PAGE == $link["text"] ? "active" : 
""?>"><a href="<?=$link["href"]?>"><?=$link["text"]?></a></li>

Reply via email to