summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-10 15:40:49 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-10 15:40:49 +0000
commit22533f8b7e13efde59338f08267c723473b70257 (patch)
tree15665f1d5ae8e1930528de1a40a6c44a07b5acfe
parent03eaef085d960aca5f6b8c97dc89c02fe215d06c (diff)
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
-rwxr-xr-xLedgerSMB/Template.pm4
1 files changed, 3 insertions, 1 deletions
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';