[Rt-commit] r12003 - rt/branches/3.8-TESTING/html/installation

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu May 1 22:40:48 EDT 2008


Author: sunnavy
Date: Thu May  1 22:40:48 2008
New Revision: 12003

Modified:
   rt/branches/3.8-TESTING/html/installation/Finish.html

Log:
added a 'start rt journey' button to exit install mode

Modified: rt/branches/3.8-TESTING/html/installation/Finish.html
==============================================================================
--- rt/branches/3.8-TESTING/html/installation/Finish.html	(original)
+++ rt/branches/3.8-TESTING/html/installation/Finish.html	Thu May  1 22:40:48 2008
@@ -62,4 +62,25 @@
 it as you want.
 </p>
 </div>
+
+<form method="post">
+<input type="hidden" value="1" name="Run" />
+<& /Elements/Submit, Label => 'Start RT Journey!' &>
+</form>
+
 </&>
+<%init>
+if ( $Run ) {
+    RT->InstallMode(0);
+    RT->LoadConfig;
+    RT->ConnectToDatabase();
+    RT->InitSystemObjects();
+    RT->InitClasses();
+    RT->InitPlugins();
+    RT::Interface::Web::Redirect(RT->Config->Get('WebURL'));
+}
+</%init>
+
+<%args>
+$Run => undef
+</%args>


More information about the Rt-commit mailing list