summaryrefslogtreecommitdiff
path: root/LedgerSMB/Template.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/Template.pm')
-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';