[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1731] trunk/LedgerSMB/Template.pm



Revision: 1731
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1731&view=rev
Author:   tetragon
Date:     2007-10-10 08:40:49 -0700 (Wed, 10 Oct 2007)

Log Message:
-----------
Adding testing related default template directory hardcoding

Modified Paths:
--------------
    trunk/LedgerSMB/Template.pm

Modified: trunk/LedgerSMB/Template.pm
===================================================================
--- trunk/LedgerSMB/Template.pm	2007-10-09 22:08:18 UTC (rev 1730)
+++ trunk/LedgerSMB/Template.pm	2007-10-10 15:40:49 UTC (rev 1731)
@@ -164,7 +164,9 @@
 		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';


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.