From 4c00aa8d5889b29465c8e9337ffdd7737c9b8844 Mon Sep 17 00:00:00 2001 From: Bong Cosca Date: Wed, 8 Jan 2014 08:56:31 +0800 Subject: [PATCH] Fix version string --- lib/base.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/base.php b/lib/base.php index 32276ff8a..afd36f68c 100644 --- a/lib/base.php +++ b/lib/base.php @@ -38,7 +38,7 @@ class Base extends Prefab { //@{ Framework details const PACKAGE='Fat-Free Framework', - VERSION='3.2.2-Dev'; + VERSION='3.2.1-Release'; //@} //@{ HTTP status codes (RFC 2616) @@ -1249,7 +1249,7 @@ function run() { unset($args[$key]); if (is_string($handler)) // Replace route pattern tokens in handler if any - $handler=preg_replace_callback('/@(\w+\b)/', + $handler=preg_replace_callback('/\{?\h*@(\w+\b)\h*\}?/', function($id) use($args) { return isset($args[$id[1]])?$args[$id[1]]:$id[0]; },