diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-06-27 19:13:13 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-06-27 19:13:13 +0200 |
commit | ae0ad72de5db63769165eda70198b99ca463c7e2 (patch) | |
tree | 377e654edfff3dc9cac4fdc67737c55016ec0c67 /c | |
parent | Project restructure, subdir content inclusion (diff) | |
download | joe-www-ae0ad72de5db63769165eda70198b99ca463c7e2.tar.gz joe-www-ae0ad72de5db63769165eda70198b99ca463c7e2.tar.bz2 joe-www-ae0ad72de5db63769165eda70198b99ca463c7e2.tar.xz joe-www-ae0ad72de5db63769165eda70198b99ca463c7e2.tar.zst joe-www-ae0ad72de5db63769165eda70198b99ca463c7e2.zip |
Work in progress
Diffstat (limited to 'c')
-rw-r--r-- | c/index.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/c/index.php b/c/index.php new file mode 100644 index 0000000..3c8c35d --- /dev/null +++ b/c/index.php @@ -0,0 +1,25 @@ +<!-- ----------------------------------------------------------------------- --> +<!-- --> +<!-- File : index.php /_________/ --> +<!-- Authors : Joe | --> +<!-- Date : 06/2020 | --> +<!-- Info : The C welcome 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("C"); ?> +<?php jo_sidebar(); ?> +<div class="body-contents"> +</div> +<?php jo_footer(); ?> |