-
Notifications
You must be signed in to change notification settings - Fork 5
/
settings.php
50 lines (37 loc) · 1.17 KB
/
settings.php
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
40
41
42
43
44
45
46
47
48
49
50
<?php
/*----------------------------
This is a new custom home page for Tirea Tean's Lesson Blog.
Control center
Here are no functions, but a place for the definition of important variables.
Author: Tìtstewan
titstewan-learnnavi.org
Co-Author: Tirea Aean
tirea-learnnavi.org
Tirea Na'vi Lesson Blog - Easy Lesson Blog
Copyright (C) 2017 Tìtstewan & Tirea Aean
GNU GPLv3
https://www.gnu.org/licenses/gpl-3.0.en.html
----------------------------*/
if (!defined('TLB'))
die('No direct access...');
// the software version
$software_vers = '1.0.0';
// the root link
$rootlink = 'http://tirea.learnnavi.org';
// the root directory
$rootdir = dirname(__FILE__);
// define the server dir for use by PHP
$sourcedir = $rootdir . '/res';
// define HTTP Document root for use by Apache
// because soon it will change from this to just "/"
// and now, that change will be very easy by edit one line affects all pages
$httproot = $rootlink . '/';
// path to the lesson dir
$lessondir = $rootdir . '/lessons';
// path to the langauge dir
$langdir = $rootdir . '/language';
// define the weblink
$weblink = $httproot . 'index.php';
// This is used in a lot of functions...
$dir = $lessondir . '/';
?>