[Rt-commit] r11974 - rt/branches/3.8-TESTING/bin
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Tue Apr 29 23:39:30 EDT 2008
Author: sunnavy
Date: Tue Apr 29 23:39:29 2008
New Revision: 11974
Modified:
rt/branches/3.8-TESTING/bin/mason_handler.fcgi.in
rt/branches/3.8-TESTING/bin/mason_handler.scgi.in
Log:
dirname(__FILE__) is better than @RT_BIN_PATH@ sometimes
Modified: rt/branches/3.8-TESTING/bin/mason_handler.fcgi.in
==============================================================================
--- rt/branches/3.8-TESTING/bin/mason_handler.fcgi.in (original)
+++ rt/branches/3.8-TESTING/bin/mason_handler.fcgi.in Tue Apr 29 23:39:29 2008
@@ -51,7 +51,8 @@
use strict;
use vars '$Handler';
use File::Basename;
-require ('@RT_BIN_PATH@/webmux.pl');
+
+require (dirname(__FILE__) . '/webmux.pl');
# Enter CGI::Fast mode, which should also work as a vanilla CGI script.
require CGI::Fast;
Modified: rt/branches/3.8-TESTING/bin/mason_handler.scgi.in
==============================================================================
--- rt/branches/3.8-TESTING/bin/mason_handler.scgi.in (original)
+++ rt/branches/3.8-TESTING/bin/mason_handler.scgi.in Tue Apr 29 23:39:29 2008
@@ -50,7 +50,9 @@
use strict;
use vars '$Handler';
-require ('@RT_BIN_PATH@/webmux.pl');
+use File::Basename;
+
+require (dirname(__FILE__) . '/webmux.pl');
require CGI;
More information about the Rt-commit
mailing list