Do substitution.
This commit is contained in:
parent
2ae8e1431f
commit
34573de581
@ -545,6 +545,7 @@ sub fix_variables {
|
|||||||
my $email = $self->{settings}->{config}->{"Core:admin_email"};
|
my $email = $self->{settings}->{config}->{"Core:admin_email"};
|
||||||
$$textref =~ s/{V_\[scriptpath\]}/$self->{scriptpath}/g;
|
$$textref =~ s/{V_\[scriptpath\]}/$self->{scriptpath}/g;
|
||||||
$$textref =~ s/{V_\[templatepath\]}/$self->{templatepath}/g;
|
$$textref =~ s/{V_\[templatepath\]}/$self->{templatepath}/g;
|
||||||
|
$$textref =~ s/{V_\[templateurl\]}/$self->{templateurl}/g;
|
||||||
$$textref =~ s/{V_\[commonpath\]}/$self->{commonpath}/g;
|
$$textref =~ s/{V_\[commonpath\]}/$self->{commonpath}/g;
|
||||||
$$textref =~ s/{V_\[sitename\]}/$self->{settings}->{config}->{site_name}/g;
|
$$textref =~ s/{V_\[sitename\]}/$self->{settings}->{config}->{site_name}/g;
|
||||||
$$textref =~ s/{V_\[admin_email\]}/$email/g;
|
$$textref =~ s/{V_\[admin_email\]}/$email/g;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user