freeside/FS/FS Conf.pm,1.129,1.130

ivan ivan at pouncequick.420.am
Sat May 14 10:04:58 PDT 2005


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv5325/FS/FS

Modified Files:
	Conf.pm 
Log Message:
html invoices: when displaying, use the actual logo from the conf dir - same as the emailed copy

Index: Conf.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Conf.pm,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -d -r1.129 -r1.130
--- Conf.pm	14 May 2005 16:27:26 -0000	1.129
+++ Conf.pm	14 May 2005 17:04:55 -0000	1.130
@@ -95,6 +95,21 @@
   }
 }
 
+=item config_binary KEY
+
+Returns the exact scalar value for key.
+
+=cut
+
+sub config_binary {
+  my($self,$file)=@_;
+  my($dir)=$self->dir;
+  my $fh = new IO::File "<$dir/$file" or return;
+  local $/;
+  my $content = <$fh>;
+  $content;
+}
+
 =item exists KEY
 
 Returns true if the specified key exists, even if the corresponding value




More information about the freeside-commits mailing list