aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bugzilla-dev/templates/webapp_bugzilla.conf
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-10-04 19:28:06 -0700
committerDan Fandrich <danf@mageia.org>2024-10-04 19:28:06 -0700
commit2c7da66570999dcd21f11f976dc6ec27d820f45c (patch)
treeb97dd9f25df691c66b2be31b658cc6fec638d47e /modules/bugzilla-dev/templates/webapp_bugzilla.conf
parenta69863ece1973cf3eae488f30c657b57dfb89779 (diff)
downloadpuppet-2c7da665.tar
puppet-2c7da665.tar.gz
puppet-2c7da665.tar.bz2
puppet-2c7da665.tar.xz
puppet-2c7da665.zip
Use @ when accessing variables in templates
Access without the @ symbol is the older method and is discouraged.
Diffstat (limited to 'modules/bugzilla-dev/templates/webapp_bugzilla.conf')
-rwxr-xr-xmodules/bugzilla-dev/templates/webapp_bugzilla.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/bugzilla-dev/templates/webapp_bugzilla.conf b/modules/bugzilla-dev/templates/webapp_bugzilla.conf
index a8f37a00..b8194c00 100755
--- a/modules/bugzilla-dev/templates/webapp_bugzilla.conf
+++ b/modules/bugzilla-dev/templates/webapp_bugzilla.conf
@@ -11,7 +11,7 @@ path_data_directory = "/var/lib/bugzilla"
# The duplicates.rdf must be accessible, as it is used by
# duplicates.xul
-<Directory <%= path_data_directory %>>
+<Directory <%= @path_data_directory %>>
<Files duplicates.rdf>
<IfModule mod_authz_core.c>
# Apache 2.4
@@ -26,7 +26,7 @@ path_data_directory = "/var/lib/bugzilla"
</Directory>
# The png files locally created locally must be accessible
-<Directory <%= path_data_directory %>/webdot>
+<Directory <%= @path_data_directory %>/webdot>
<FilesMatch \.png$>
<IfModule mod_authz_core.c>
# Apache 2.4
@@ -40,8 +40,8 @@ path_data_directory = "/var/lib/bugzilla"
</FilesMatch>
</Directory>
-Alias /graphs/ <%= path_data_directory %>/graphs/
-<Directory <%= path_data_directory %>/graphs>
+Alias /graphs/ <%= @path_data_directory %>/graphs/
+<Directory <%= @path_data_directory %>/graphs>
<FilesMatch \.png$>
<IfModule mod_authz_core.c>
# Apache 2.4