diff options
Diffstat (limited to 'net/phpldapadmin/files/patch-lib_xmlTemplates.php')
-rw-r--r-- | net/phpldapadmin/files/patch-lib_xmlTemplates.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/phpldapadmin/files/patch-lib_xmlTemplates.php b/net/phpldapadmin/files/patch-lib_xmlTemplates.php new file mode 100644 index 000000000000..26ee3c3f4215 --- /dev/null +++ b/net/phpldapadmin/files/patch-lib_xmlTemplates.php @@ -0,0 +1,11 @@ +--- lib/xmlTemplates.php.orig 2023-04-01 13:46:16 UTC ++++ lib/xmlTemplates.php +@@ -122,7 +122,7 @@ abstract class xmlTemplates { + + # Ignore any files that are not the predefined custom files. + if ($_SESSION[APPCONFIG]->getValue('appearance','custom_templates_only') +- && ! preg_match("/^${custom_prefix}/",$file)) ++ && ! preg_match("/^{$custom_prefix}/",$file)) + continue; + + $filename = sprintf('%s/%s',$dir,$file); |