[otrs-cvs] otrs/Kernel/Modules Installer.pm,1.97,1.98

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/Kernel/Modules
In directory lancelot:/tmp/cvs-serv12692/Kernel/Modules

Modified Files:
	Installer.pm 
Log Message:
Made Web Installer reload after writing Config.pm under PerlEx.

Author: mb

Index: Installer.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/Installer.pm,v
retrieving revision 1.97
retrieving revision 1.98
diff -2 -u -d -r1.97 -r1.98
--- Installer.pm	20 Nov 2012 14:54:51 -0000	1.97
+++ Installer.pm	2 Feb 2013 21:53:28 -0000	1.98
@@ -1,5 +1,5 @@
 # --
 # Kernel/Modules/Installer.pm - provides the DB installer
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -527,4 +527,13 @@
             }
 
+            # if running under PerlEx, reload the application (and thus the configuration)
+            if (
+                exists $ENV{'GATEWAY_INTERFACE'}
+                and $ENV{'GATEWAY_INTERFACE'} eq "CGI-PerlEx"
+                )
+            {
+                PerlEx::ReloadAll();
+            }
+
             $Self->{LayoutObject}->Block(
                 Name => 'DatabaseResultItemMessage',
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.