Fix: Include paths

This is not ideal, in fact I would propose not using include at all, but
I guess as a one-liner this is a functional solution.
This commit is contained in:
speedie 2024-03-30 03:26:09 +01:00
parent 1c72401cfd
commit 1b74e277b0
2 changed files with 9 additions and 9 deletions

View File

@ -3,11 +3,11 @@
<head>
<title>Damaj301damaj's site</title>
<link rel="stylesheet" href="/css/main.css" text="text/css"></link>
<?php include '/var/www/html/templates/meta.php' ;?>
<?php include '../../templates/meta.php' ;?>
</head>
<body>
<?php include '/var/www/html/templates/header.php' ;?>
<?php include '../../templates/header.php' ;?>
<font size=25px><b>Coming Soon! (Don't count on it tho)</b></font>
<?php include '/var/www/html/templates/footer.php' ;?>
<?php include '../../templates/footer.php' ;?>
</body>
</html>
</html>

View File

@ -3,12 +3,12 @@
<head>
<title>Who is Damaj301damaj?</title>
<link rel="stylesheet" href="/css/main.css" text="text/css"></link>
<?php include '/var/www/html/templates/meta.php' ;?>
<?php include '../../templates/meta.php' ;?>
</head>
<body>
<?php include '/var/www/html/templates/header.php' ;?>
<?php include '../../templates/header.php' ;?>
<font size=20px><b>Who Am I?</b></font>
<font size=5px><p>My name is Mohamad, i am from the beautiful country of <a href="https://en.wikipedia.org/wiki/Lebanon">Lebanon</a>🇱🇧.
<font size=5px><p>My name is Mohamad, i am from the beautiful country of <a href="https://en.wikipedia.org/wiki/Lebanon">Lebanon</a>🇱🇧.
i spend my free time improving my skills in computing and dream of being a Computer Engineer🖥.</p>
<p>I love reading source code and using open source code(such as <a href="https://en.wikipedia.org/wiki/Linux">Linux</a>🐧).</p>
<p>I am currently the only sysadmin of this server.</p>
@ -20,6 +20,6 @@ i spend my free time improving my skills in computing and dream of being a Compu
<p>You can also email me using my email <a href="mailto:mohamad@damaj.tech">mohamad@damaj.tech</a>, business mail denied if you are using a public service or failing standard verifications(<a href="https://en.wikipedia.org/wiki/Sender_Policy_Framework">SPF</a>, <a href="https://en.wikipedia.org/wiki/DomainKeys_Identified_Mail">DKIM</a> and <a href="https://en.wikipedia.org/wiki/DMARC">DMARC</a>)</p>
<p>P.S.: My public GPG key that you can use to encrypt emails, messages or verify signed content is available <a href="https://git.damaj.tech/Damaj301damaj.gpg">here</a>.</p>
</font>
<?php include '/var/www/html/templates/footer.php' ;?>
<?php include '../../templates/footer.php' ;?>
</body>
</html>
</html>