]> git.bochard.net Git - mysite.git/commitdiff
fix in php embedded files
authorbochard <mail@tenkyuu.dev>
Fri, 18 Apr 2025 13:06:01 +0000 (21:06 +0800)
committerbochard <mail@tenkyuu.dev>
Fri, 18 Apr 2025 13:06:01 +0000 (21:06 +0800)
includes/header.php
index.php

index 812a3b14466d852d130a54f3cefec82998496979..82db42cee353f091877d03993728360a560acd16 100755 (executable)
@@ -1,15 +1,15 @@
-<audio id="bg-music" src="./audios/background/rejectedworld.mp3" controls loop></audio>
+<audio id="bg-music" src="/audios/background/rejectedworld.mp3" controls loop></audio>
 <header>
-  <img src="./images/gifs/doraemon.gif" alt="doraemon hello gif" width="100">
-  <img src="./images/gifs/welcomemovetree.gif" alt="tree with welcome text gif" width="300">
+  <img src=".images/gifs/doraemon.gif" alt="doraemon hello gif" width="100">
+  <img src="/images/gifs/welcomemovetree.gif" alt="tree with welcome text gif" width="300">
   <h1>welcome to my website!</h1>
-  <img src="./images/gifs/homepageburning.gif" alt="under construction text gif" width="300">
+  <img src="/images/gifs/homepageburning.gif" alt="under construction text gif" width="300">
   <nav class="headernav">
     <ul>
-      <li><a href="./index.html">home page</a></li>
-      <li><a href="./links.php">useful links</a></li>
-      <li><a href="./sitemap.php">my sitemap</a></li>
-      <li><a href="./files/">files</a></li>
+      <li><a href="/index.html">home page</a></li>
+      <li><a href="/links.php">useful links</a></li>
+      <li><a href="/sitemap.php">my sitemap</a></li>
+      <li><a href="/files/">files</a></li>
     </ul>
   </nav>
 </header>
\ No newline at end of file
index be6524d9431a6077f1f7ad1ede33063ce61072c5..30770285a32dba21a1c160050a782a980edb1175 100755 (executable)
--- a/index.php
+++ b/index.php
   <link rel="stylesheet" href="/styles/index.css">\r
 </head>\r
 <body>\r
-  <?php include '/includes/header.php';?>\r
+  <?php include './includes/header.php';?>\r
 \r
   <main>\r
     <section style="text-align: center;">\r
       <img src="/images/construction/underconstructionimg.gif" alt="under construction image" width="300">\r
       <br>\r
       <img src="/images/construction/underconstructiontxt.gif" alt="under construction text gif" width="300">\r
-      <p>Hello! welcome to my net home.</p>\r
+      <p>Hi! welcome to my net home.</p>\r
       <p>i have nothing to say yet. writing intro is hard. sorry! ðŸ˜¢ðŸ˜­</p>\r
     </section>\r
     <section>\r