Skip to content

Commit

Permalink
Update File for handling nginx and starman.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Dec 15, 2011
1 parent d18e22e commit 081310f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wre/lib/WRE/File.pm
Expand Up @@ -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
Expand All @@ -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");
Expand Down

0 comments on commit 081310f

Please sign in to comment.