Permalink
Browse files

Update File for handling nginx and starman.

  • Loading branch information...
perlDreamer committed Dec 15, 2011
1 parent d18e22e commit 081310fa50978f47d2f541aeac8f58f2dc444841
Showing with 3 additions and 3 deletions.
  1. +3 −3 wre/lib/WRE/File.pm
@@ -315,7 +315,7 @@ Either a path to a template file as a scalar or a scalar reference to a template
=head3 vars
A hash reference containing the template variables to process on the template. The following template variables
are automatically generated and added to the list: databaseHost, databasePort, modproxyPort, modperlPort,
are automatically generated and added to the list: databaseHost, databasePort, nginxPort, starmanPort,
domainRoot, wreRoot, webguiRoot
=cut
@@ -334,8 +334,8 @@ sub processTemplate {
# add in some template template variables
$var->{databaseHost} = $config->get("mysql/hostname");
$var->{databasePort} = $config->get("mysql/port");
$var->{modproxyPort} = $config->get("apache/modproxyPort");
$var->{modperlPort} = $config->get("apache/modperlPort");
$var->{nginxPort} = $config->get("nginx/port");
$var->{starmanPort} = $config->get("starman/port");
$var->{domainRoot} = $config->getDomainRoot;
$var->{wreRoot} = $config->getRoot;
$var->{wreUser} = $config->get("user");

0 comments on commit 081310f

Please sign in to comment.