Skip to content

Commit

Permalink
remove unneeded extra parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
fcoelho authored Jul 31, 2024
1 parent 18987b7 commit c879535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/local/share/deskpro/templates/deskpro-config.php.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ $CONFIG['otel'] = [
*/}}
{{if getenv "DESKPRO_CONFIG_EXTENSIONS"}}
{{range ((getenv "DESKPRO_CONFIG_EXTENSIONS") | strings.Split ":") }}
{{ $file := . | (strings.ReplaceAll "%ROOT%" "/srv/deskpro") | trimSpace }}
{{ $file := . | strings.ReplaceAll "%ROOT%" "/srv/deskpro" | trimSpace }}
{{if and $file (file.Exists $file)}}
if (is_file({{ . | squote }})) require_once {{ . | squote }};
{{end}}
Expand Down

0 comments on commit c879535

Please sign in to comment.