From 22533f8b7e13efde59338f08267c723473b70257 Mon Sep 17 00:00:00 2001 From: tetragon Date: Wed, 10 Oct 2007 15:40:49 +0000 Subject: Adding testing related default template directory hardcoding git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1731 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Template.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LedgerSMB/Template.pm b/LedgerSMB/Template.pm index b607d85d..59deb5a3 100755 --- a/LedgerSMB/Template.pm +++ b/LedgerSMB/Template.pm @@ -164,7 +164,9 @@ sub new { throw Error::Simple "Invalid format"; } if (!$self->{include_path}){ - $self->{include_path} = $self->{'myconfig'}->{'templates'}; +## SC: hardcoding due to config migration +## $self->{include_path} = $self->{'myconfig'}->{'templates'}; + $self->{include_path} = 'templates/demo'; if (defined $self->{language}){ if (!$self->_valid_language){ throw Error::Simple 'Invalid language'; -- cgit v1.2.3