From 4dc13a3a92f711900a61335256f97f465a5067dd Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Tue, 30 Nov 2010 19:21:06 +1100 Subject: Fixed bug causing templates to fail after a chdir() --- inc/config.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'inc/config.php') 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); -- cgit v1.3