forked from leftypol/leftypol
Fixed bug causing templates to fail after a chdir()
This commit is contained in:
parent
5ffa408b4b
commit
95b91b3b5f
4 changed files with 10 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue