We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 841a692 commit 2889ad6Copy full SHA for 2889ad6
wre/sbin/wredemosetup.pl
@@ -34,11 +34,11 @@
34
my $host = WRE::Host->new(wreConfig => $config);
35
my $file = WRE::File->new(wreConfig => $config);
36
37
-if ($config->get('demo/enabled') {
+if ($config->get('demo/enabled')) {
38
say "Setting up demo files";
39
$file->makePath($config->getDomainRoot("/demo"));
40
$file->copy($config->getRoot("/var/setupfiles/demo.nginx"), $config->getRoot("/etc/demo.nginx"),
41
- { force => 1, processTemplate => 1, );
+ { force => 1, processTemplate => 1, } );
42
}
43
else {
44
say "Skipping demo files";
0 commit comments