[Bps-public-commit] r11489 - RT-Extension-Reports/html/Reports
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Fri Apr 4 04:24:58 EDT 2008
Author: sunnavy
Date: Fri Apr 4 04:24:57 2008
New Revision: 11489
Modified:
RT-Extension-Reports/html/Reports/index.html
Log:
use $RT::MasonComponentRoot path to find all types
Modified: RT-Extension-Reports/html/Reports/index.html
==============================================================================
--- RT-Extension-Reports/html/Reports/index.html (original)
+++ RT-Extension-Reports/html/Reports/index.html Fri Apr 4 04:24:57 2008
@@ -65,9 +65,8 @@
%}
<%INIT>
-use File::Spec;
my $dh;
-opendir $dh, File::Spec->catfile( 'html', 'Reports', 'Types' );
+opendir $dh, "$RT::MasonComponentRoot/Reports/Types" or die $!;
my @types = grep { ! /^\./ } readdir $dh;
</%INIT>
More information about the Bps-public-commit
mailing list