[Rt-commit] r14056 - in rt/branches/3.999-DANGEROUS: . lib/RT/Interface/Web sbin share/html
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Mon Jul 14 06:11:50 EDT 2008
Author: sunnavy
Date: Mon Jul 14 06:11:49 2008
New Revision: 14056
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web/Standalone.pm
rt/branches/3.999-DANGEROUS/sbin/rt-server.in
rt/branches/3.999-DANGEROUS/share/html/Install/Finish.html
rt/branches/3.999-DANGEROUS/share/html/Install/autohandler
rt/branches/3.999-DANGEROUS/share/html/autohandler
Log:
r14397 at sunnavys-mb: sunnavy | 2008-07-14 17:40:13 +0800
fixed InstallMode name
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web/Standalone.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web/Standalone.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web/Standalone.pm Mon Jul 14 06:11:49 2008
@@ -77,7 +77,7 @@
Module::Refresh->refresh if RT->config->get('DevelMode');
- RT::ConnectToDatabase() unless RT->InstallMode;
+ RT::ConnectToDatabase() unless RT->install_mode;
$self->SUPER::handle_request($cgi);
Jifty->log->fatal($@) if $@ && Jifty->log;
warn $@ if $@ && !Jifty->log;
Modified: rt/branches/3.999-DANGEROUS/sbin/rt-server.in
==============================================================================
--- rt/branches/3.999-DANGEROUS/sbin/rt-server.in (original)
+++ rt/branches/3.999-DANGEROUS/sbin/rt-server.in Mon Jul 14 06:11:49 2008
@@ -109,7 +109,7 @@
die "Since your configuration exists but is not writable, I'm refusing to do anything.\n";
}
- RT->InstallMode(1);
+ RT->install_mode(1);
} else {
RT->ConnectToDatabase();
RT->InitSystemObjects();
Modified: rt/branches/3.999-DANGEROUS/share/html/Install/Finish.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Install/Finish.html (original)
+++ rt/branches/3.999-DANGEROUS/share/html/Install/Finish.html Mon Jul 14 06:11:49 2008
@@ -73,7 +73,7 @@
</&>
<%init>
if ( $Run ) {
- RT->InstallMode(0);
+ RT->install_mode(0);
RT->ConnectToDatabase();
RT->InitSystemObjects();
RT->InitClasses();
Modified: rt/branches/3.999-DANGEROUS/share/html/Install/autohandler
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Install/autohandler (original)
+++ rt/branches/3.999-DANGEROUS/share/html/Install/autohandler Mon Jul 14 06:11:49 2008
@@ -51,7 +51,7 @@
<%init>
-if (RT->InstallMode) {
+if (RT->install_mode) {
$r->content_type("text/html; charset=utf-8");
require RT::Installer;
Modified: rt/branches/3.999-DANGEROUS/share/html/autohandler
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/autohandler (original)
+++ rt/branches/3.999-DANGEROUS/share/html/autohandler Mon Jul 14 06:11:49 2008
@@ -48,7 +48,7 @@
<%INIT>
use RT::Util;
-if (RT->InstallMode) {
+if (RT->install_mode) {
if ( $m->base_comp->path =~ RT->config->get('WebNoAuthRegex') ) {
$m->call_next();
}
More information about the Rt-commit
mailing list