[Rt-commit] r19932 - in rt/3.999/trunk/lib: .
sartak at bestpractical.com
sartak at bestpractical.com
Sat Jun 6 06:24:01 EDT 2009
Author: sartak
Date: Sat Jun 6 06:24:01 2009
New Revision: 19932
Modified:
rt/3.999/trunk/lib/RT.pm
rt/3.999/trunk/lib/RT/Interface/Web/Handler.pm
Log:
Get rid of $RT::MasonLocalComponentRoot
Modified: rt/3.999/trunk/lib/RT.pm
==============================================================================
--- rt/3.999/trunk/lib/RT.pm (original)
+++ rt/3.999/trunk/lib/RT.pm Sat Jun 6 06:24:01 2009
@@ -72,11 +72,6 @@
our $LocalLexiconPath = $BASE_PATH . '/local/po';
our $LocalPluginPath = $LocalPath . "/plugins";
-# $MasonLocalComponentRoot is where your rt instance keeps its site-local
-# mason html files.
-
-our $MasonLocalComponentRoot = $BASE_PATH . '/local/html';
-
# $MasonDataDir Where mason keeps its datafiles
our $MasonDataDir = $BASE_PATH . '/var/mason_data';
Modified: rt/3.999/trunk/lib/RT/Interface/Web/Handler.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/Interface/Web/Handler.pm (original)
+++ rt/3.999/trunk/lib/RT/Interface/Web/Handler.pm Sat Jun 6 06:24:01 2009
@@ -110,7 +110,7 @@
*config = sub {
my %config = $oldsub->();
push @{ $config{comp_root} },
- [ local => $RT::MasonLocalComponentRoot ];
+ [ local => Jifty::Util->app_root . '/local/html' ];
for my $plugin ( @{ RT->plugins } ) {
push @{ $config{comp_root} },
[ 'plugin-' . $plugin->name => $plugin->component_root ];
More information about the Rt-commit
mailing list