Fixed bug causing templates to fail after a chdir()

This commit is contained in:
Savetheinternet
2010-11-30 19:21:06 +11:00
committed by Paul Merrill
parent 5ffa408b4b
commit 95b91b3b5f
4 changed files with 10 additions and 4 deletions

View File

@@ -8,7 +8,7 @@
// Standard configuration
//
// Folder where the template files are kept
$templateDir = './templates';
$templateDir = DIR_TEMPLATE;
//
// Enable global things like %gentime, etc.
$templateGlobals = true;