aboutsummaryrefslogtreecommitdiffstats
path: root/license.php
diff options
context:
space:
mode:
Diffstat (limited to 'license.php')
-rw-r--r--license.php21
1 files changed, 20 insertions, 1 deletions
diff --git a/license.php b/license.php
index 20b32a7..01297ba 100644
--- a/license.php
+++ b/license.php
@@ -1,4 +1,23 @@
-<?php include 'inc/classic-contents.inc.php'; ?>
+<!-- ----------------------------------------------------------------------- -->
+<!-- -->
+<!-- File : license.php /_________/ -->
+<!-- Authors : Joe | -->
+<!-- Date : 06/2020 | -->
+<!-- Info : The LICENSE display 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_head("LICENSE"); ?>
<?php jo_sidebar(); ?>
<div class="body-contents">