summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-11-30 19:21:06 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2010-11-30 19:21:06 +1100
commit4dc13a3a92f711900a61335256f97f465a5067dd (patch)
tree4107fa38a1f18dff37c6d8bf8395c6fbfaac5e24 /inc/config.php
parent6f5966e38031557ca8b37905b594ed6541cb8a65 (diff)
Fixed bug causing templates to fail after a chdir()
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php
index 83af50f8..dbb9bbd6 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -85,7 +85,9 @@
define('DIR_IMG', 'src/', true);
define('DIR_THUMB', 'thumb/', true);
define('DIR_RES', 'res/', true);
-
+
+ define('DIR_TEMPLATE', getcwd() . '/templates', true);
+
// The root directory, including the trailing slash, for Tinyboard.
// examples: '/', 'http://boards.chan.org/', '/chan/'
define('ROOT', '/', true);