aboutsummaryrefslogtreecommitdiffstats
path: root/links.php
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-06-27 19:10:09 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-06-27 19:10:09 +0200
commit85b4e3dc56fcec1c751858f70d17f4d4e483e1bf (patch)
treedfafd7e20c4e5487d2ed5f369fc199144cc6c75d /links.php
parentAdded the projects welcome page (diff)
downloadjoe-www-85b4e3dc56fcec1c751858f70d17f4d4e483e1bf.tar.gz
joe-www-85b4e3dc56fcec1c751858f70d17f4d4e483e1bf.tar.bz2
joe-www-85b4e3dc56fcec1c751858f70d17f4d4e483e1bf.tar.xz
joe-www-85b4e3dc56fcec1c751858f70d17f4d4e483e1bf.tar.zst
joe-www-85b4e3dc56fcec1c751858f70d17f4d4e483e1bf.zip
Project restructure, subdir content inclusion
Diffstat (limited to '')
-rw-r--r--links.php21
1 files changed, 20 insertions, 1 deletions
diff --git a/links.php b/links.php
index a545f5b..bfc8518 100644
--- a/links.php
+++ b/links.php
@@ -1,4 +1,23 @@
-<?php include 'inc/classic-contents.inc.php'; ?>
+<!-- ----------------------------------------------------------------------- -->
+<!-- -->
+<!-- File : links.php /_________/ -->
+<!-- Authors : Joe | -->
+<!-- Date : 06/2020 | -->
+<!-- Info : The links page | -->
+<!-- / | -->
+<!-- \ / -->
+<!-- \_____/ -->
+<!-- -->
+<!-- ----------------------------------------------------------------------- -->
+
+<?php
+$prefix = "./";
+$curr_dir = basename(getcwd());
+if ($curr_dir != "jozan" && $curr_dir != "jozanleclerc.xyz") {
+ $prefix = "../";
+}
+?>
+<?php include $prefix."inc/classic-contents.inc.php"; ?>
<?php jo_bloat_head("Links"); ?>
<?php jo_sidebar(); ?>
<div class="body-contents">