Skip to content

Commit 081310f

Browse files
committedDec 15, 2011
Update File for handling nginx and starman.
1 parent d18e22e commit 081310f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎wre/lib/WRE/File.pm

+3-3
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ Either a path to a template file as a scalar or a scalar reference to a template
315315
=head3 vars
316316
317317
A hash reference containing the template variables to process on the template. The following template variables
318-
are automatically generated and added to the list: databaseHost, databasePort, modproxyPort, modperlPort,
318+
are automatically generated and added to the list: databaseHost, databasePort, nginxPort, starmanPort,
319319
domainRoot, wreRoot, webguiRoot
320320
321321
=cut
@@ -334,8 +334,8 @@ sub processTemplate {
334334
# add in some template template variables
335335
$var->{databaseHost} = $config->get("mysql/hostname");
336336
$var->{databasePort} = $config->get("mysql/port");
337-
$var->{modproxyPort} = $config->get("apache/modproxyPort");
338-
$var->{modperlPort} = $config->get("apache/modperlPort");
337+
$var->{nginxPort} = $config->get("nginx/port");
338+
$var->{starmanPort} = $config->get("starman/port");
339339
$var->{domainRoot} = $config->getDomainRoot;
340340
$var->{wreRoot} = $config->getRoot;
341341
$var->{wreUser} = $config->get("user");

0 commit comments

Comments
 (0)