diff options
| author | ivan <ivan> | 2005-05-14 17:04:55 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2005-05-14 17:04:55 +0000 |
| commit | df185d34f354c5788e8c4693182b7689a3333839 (patch) | |
| tree | debe1c2c86b5e8661140915b5740470133412c31 /FS | |
| parent | 691a587e56557208e9b3834c77f36ca47f3a1a25 (diff) | |
html invoices: when displaying, use the actual logo from the conf dir - same as the emailed copy
Diffstat (limited to 'FS')
| -rw-r--r-- | FS/FS/Conf.pm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 15ac23d53..ea2785bdf 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -95,6 +95,21 @@ sub config { } } +=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 |
