OSDN Git Service

[fix] : Fixed page name
authorhayao <hayao@fascode.net>
Thu, 18 Feb 2021 10:38:17 +0000 (19:38 +0900)
committerhayao <hayao@fascode.net>
Thu, 18 Feb 2021 10:38:20 +0000 (19:38 +0900)
buildmydist-2/commonhtml/header.php
buildmydist-2/index.php

index 2822d30..8305009 100644 (file)
@@ -1,6 +1,6 @@
 <header id="header">
         <h1 class="bar-logo">
-            <a href="/buildmydist-2/index.php">オリジナルLinuxディストリを自作しよう <?php echo "${_GET["title"]}" ?></a>
+            <a href="/buildmydist-2/index.php">オリジナルLinuxディストリを自作しよう <?php echo "${title}" ?></a>
         </h1>
         <p class="description">
             様々なディストリビューションの開発の仕方を紹介します。
index 875ec0b..0d462e4 100644 (file)
@@ -3,7 +3,7 @@
 <head>
     <?php
         // ページ設定
-        $_GET["title"] = "トップページ";
+        $title = "トップページ";
         $commonhtml = "${_SERVER['DOCUMENT_ROOT']}/buildmydist-2/commonhtml";
         $distro = "top";