Fixed bug causing templates to fail after a chdir()
This commit is contained in:
1 parent
6f5966e380
commit
4dc13a3a92
4 files changed
+10
-4
No files matched your search
+3
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user