1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-22 13:10:31 -04:00
ports/net/phpldapadmin/files/patch-lib_xmlTemplates.php
Krzysztof a5bd98809b net/phpldapadmin: Fix runtime with php82
phpldapadmin needs some more patches to work correctly (without
error/warning messages in webserver logs).

PR:		274970
2023-11-12 20:23:01 +01:00

11 lines
449 B
PHP

--- 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);