diff options
Diffstat (limited to 'FS/FS/Conf.pm')
-rw-r--r-- | FS/FS/Conf.pm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index e1384bd4c..91fea7ef7 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -174,8 +174,12 @@ sub config_items { my $self = shift; #quelle kludge @config_items, - map { new FS::ConfItem { - 'key' => basename($_), + map { + my $basename = basename($_); + $basename =~ /^(.*)$/; + $basename = $1; + new FS::ConfItem { + 'key' => $basename, 'section' => 'billing', 'description' => 'Alternate template file for invoices. See the <a href="../docs/billing.html">billing documentation</a> for details.', 'type' => 'textarea', |