summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-07 20:51:28 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-07 20:51:28 +0200
commit9940b8c66d06c3f9fd878c3b4b563d3cf9a4fd13 (patch)
treee850da69a946b3653217f3ebeec4a98e97b71297
parentNew home page infos (diff)
downloadgitjoe-www-9940b8c66d06c3f9fd878c3b4b563d3cf9a4fd13.tar.gz
gitjoe-www-9940b8c66d06c3f9fd878c3b4b563d3cf9a4fd13.tar.bz2
gitjoe-www-9940b8c66d06c3f9fd878c3b4b563d3cf9a4fd13.tar.xz
gitjoe-www-9940b8c66d06c3f9fd878c3b4b563d3cf9a4fd13.tar.zst
gitjoe-www-9940b8c66d06c3f9fd878c3b4b563d3cf9a4fd13.zip
Added license web page
-rw-r--r--license.php39
1 files changed, 39 insertions, 0 deletions
diff --git a/license.php b/license.php
new file mode 100644
index 0000000..01297ba
--- /dev/null
+++ b/license.php
@@ -0,0 +1,39 @@
+<!-- ----------------------------------------------------------------------- -->
+<!-- -->
+<!-- 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">
+ <h1>BSD 3-Clause</h1>
+ <p>
+ This site is copyrighted under the BSD 3-Clause License.
+ You can find the terms of the license bellow:
+ </p>
+ <pre>
+<?php
+$license = file_get_contents('LICENSE');
+echo "$license";
+?>
+ </pre>
+ <p>
+ You can also <a href="LICENSE">download</a> the license file.
+ </p>
+</div>
+<?php jo_footer(); ?>