[Rt-commit] r10644 - in rt/branches/3.999-DANGEROUS: lib
jesse at bestpractical.com
jesse at bestpractical.com
Thu Jan 31 21:09:12 EST 2008
Author: jesse
Date: Thu Jan 31 21:09:11 2008
New Revision: 10644
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/lib/RT.pm
Log:
r76047 at pinglin: jesse | 2008-01-31 21:08:18 -0500
* Fixing up lib/RT.pm to figure out where rt is installed
Modified: rt/branches/3.999-DANGEROUS/lib/RT.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT.pm Thu Jan 31 21:09:11 2008
@@ -12,32 +12,32 @@
use vars qw($Config $System $nobody $Handle );
our $VERSION = '3.7.14';
-our $BASE_PATH = '/home/jesse/svk/3.999-DANGEROUS';
-our $EtcPath = '/home/jesse/svk/3.999-DANGEROUS/etc';
-our $BinPath = '/home/jesse/svk/3.999-DANGEROUS/bin';
-our $VarPath = '/home/jesse/svk/3.999-DANGEROUS/var';
-our $LocalPath = '/home/jesse/svk/3.999-DANGEROUS/local';
-our $LocalLibPath = '/home/jesse/svk/3.999-DANGEROUS/local/lib';
-our $LocalEtcPath = '/home/jesse/svk/3.999-DANGEROUS/local/etc';
-our $LocalLexiconPath = '/home/jesse/svk/3.999-DANGEROUS/local/po';
+our $BASE_PATH = Jifty::Util->app_root;
+our $EtcPath = $BASE_PATH.'/etc';
+our $BinPath = $BASE_PATH.'/bin';
+our $VarPath = $BASE_PATH.'/var';
+our $LocalPath = $BASE_PATH.'/local';
+our $LocalLibPath = $BASE_PATH.'/local/lib';
+our $LocalEtcPath = $BASE_PATH.'/local/etc';
+our $LocalLexiconPath = $BASE_PATH.'/local/po';
our $LocalPluginPath = $LocalPath . "/plugins";
# $MasonComponentRoot is where your rt instance keeps its mason html files
-our $MasonComponentRoot = '/home/jesse/svk/3.999-DANGEROUS/html';
+our $MasonComponentRoot = $BASE_PATH.'/html';
# $MasonLocalComponentRoot is where your rt instance keeps its site-local
# mason html files.
-our $MasonLocalComponentRoot = '/home/jesse/svk/3.999-DANGEROUS/local/html';
+our $MasonLocalComponentRoot = $BASE_PATH.'/local/html';
# $MasonDataDir Where mason keeps its datafiles
-our $MasonDataDir = '/home/jesse/svk/3.999-DANGEROUS/var/mason_data';
+our $MasonDataDir = $BASE_PATH.'/var/mason_data';
# RT needs to put session data (for preserving state between connections
# via the web interface)
-our $MasonSessionDir = '/home/jesse/svk/3.999-DANGEROUS/var/session_data';
+our $MasonSessionDir = $BASE_PATH.'/var/session_data';
=head1 name
More information about the Rt-commit
mailing list