Skip to content

Commit

Permalink
allow hypen within agavi settings prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
shrink0r committed Jul 18, 2015
1 parent 276c343 commit b9eebd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/AgaviToolkit.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ public static function expandDirectives($value)
do {
$oldvalue = $value;
$value = preg_replace_callback(
'/\%([\w\.]+?)\%/',
'/\%([\w\.\-]+?)\%/',
array('AgaviToolkit', 'expandDirectivesCallback'),
$value
);
Expand Down Expand Up @@ -529,4 +529,4 @@ public static function extractShortActionName($longActionName)
}
}

?>
?>

0 comments on commit b9eebd6

Please sign in to comment.