[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.7-962-g94bed28

? sunnavy sunnavy at bestpractical.com
Tue Dec 21 00:55:00 EST 2010


The branch, 3.9-trunk has been updated
       via  94bed282b184c41104a7cce7803dc9bb7771e298 (commit)
      from  6b24639e1152acb91878bb4cbdcdac7bd705a89f (commit)

Summary of changes:
 sbin/rt-server.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 94bed282b184c41104a7cce7803dc9bb7771e298
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Dec 21 13:54:05 2010 +0800

    make sure to require Module::Refresh in devel mode

diff --git a/sbin/rt-server.in b/sbin/rt-server.in
index 97ad46a..ff7c993 100755
--- a/sbin/rt-server.in
+++ b/sbin/rt-server.in
@@ -85,6 +85,7 @@ if (grep { m/help/ } @ARGV) {
 
 require RT;
 RT->LoadConfig();
+require Module::Refresh if RT->Config->Get('DevelMode');
 
 require RT::Handle;
 my ($integrity, $state, $msg) = RT::Handle->CheckIntegrity;
@@ -119,7 +120,6 @@ EOF
     RT->InstallMode(1);
 } else {
     RT->Init();
-    if (RT->Config->Get('DevelMode')) { require Module::Refresh; }
 
     my ($status, $msg) = RT::Handle->CheckCompatibility( $RT::Handle->dbh, 'post');
     unless ( $status ) {

-----------------------------------------------------------------------


More information about the Rt-commit mailing list