From b9eebd65b9fe75cb9313a65a509b994916d5ce98 Mon Sep 17 00:00:00 2001 From: Thorsten Schmitt-Rink Date: Sat, 18 Jul 2015 21:03:54 +0000 Subject: [PATCH] allow hypen within agavi settings prefix --- src/util/AgaviToolkit.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/AgaviToolkit.class.php b/src/util/AgaviToolkit.class.php index 94db7a579..40f12285b 100644 --- a/src/util/AgaviToolkit.class.php +++ b/src/util/AgaviToolkit.class.php @@ -322,7 +322,7 @@ public static function expandDirectives($value) do { $oldvalue = $value; $value = preg_replace_callback( - '/\%([\w\.]+?)\%/', + '/\%([\w\.\-]+?)\%/', array('AgaviToolkit', 'expandDirectivesCallback'), $value ); @@ -529,4 +529,4 @@ public static function extractShortActionName($longActionName) } } -?> \ No newline at end of file +?>