summaryrefslogtreecommitdiffstats
path: root/license.php
blob: 01f28190dd3dd07c1ece81b0964eadc82049cb35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!-- ----------------------------------------------------------------------- -->
<!--                                                                         -->
<!-- File     : license.php                                      /_________/ -->
<!-- Authors  : Joe                                                    |     -->
<!-- Date     : 06/2020                                                |     -->
<!-- Info     : The LICENSE display page                               |     -->
<!--                                                           /       |     -->
<!--                                                           \       /     -->
<!--                                                            \_____/      -->
<!--                                                                         -->
<!-- ----------------------------------------------------------------------- -->

<?php
$prefix = "./";
$curr_dir = basename(getcwd());
if ($curr_dir != "git-jozan" && $curr_dir != "gitjoe") {
	$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(); ?>