diff --git a/index.php b/index.php index 9974998..3444c01 100644 --- a/index.php +++ b/index.php @@ -2,7 +2,7 @@ define('DEFAULT_TITLE', 'Mon panier bio'); -define('REQUEST_REGEX', '/^\/(?[^\/]+)\/?(?[^\/]+)?\/?$/'); +define('REQUEST_REGEX', '/\/(?[^\/]+)\/?(?[^\/]+)?\/?$/'); define('SUPPLIER_REGEX', '/^[A-Za-z]\w{0,31}$/'); define('EVENT_REGEX', '/^\d{4}\-[01]\d\-[0123]\d$/'); define('ACTION_REGEX', '/^[a-z]{1,16}$/i'); @@ -344,7 +344,7 @@ if (!$isConfig and $hasSupplier) {
-
+