From 2c7da66570999dcd21f11f976dc6ec27d820f45c Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 4 Oct 2024 19:28:06 -0700 Subject: Use @ when accessing variables in templates Access without the @ symbol is the older method and is discouraged. --- modules/bugzilla/templates/localconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/bugzilla/templates/localconfig') diff --git a/modules/bugzilla/templates/localconfig b/modules/bugzilla/templates/localconfig index 61935552..3f5b4a7e 100644 --- a/modules/bugzilla/templates/localconfig +++ b/modules/bugzilla/templates/localconfig @@ -64,7 +64,7 @@ $db_user = 'bugs'; # If you use apostrophe (') or a backslash (\) in your password, you'll # need to escape it by preceding it with a '\' character. (\') or (\) # (It is far simpler to just not use those characters.) -$db_pass = '<%= pgsql_password %>'; +$db_pass = '<%= @pgsql_password %>'; # Sometimes the database server is running on a non-standard port. If that's # the case for your database server, set this to the port number that your @@ -124,4 +124,4 @@ $diffpath = '/usr/bin'; # security features in Bugzilla, to protect against certain types of attacks. # A random string is generated by default. It's very important that this key # is kept secret. It also must be very long. -$site_wide_secret = '<%= bugzilla_secret_key %>'; +$site_wide_secret = '<%= @bugzilla_secret_key %>'; -- cgit v1.2.1