diff --git a/routes/web.php b/routes/web.php index b86573620d..55fa1c3fd3 100644 --- a/routes/web.php +++ b/routes/web.php @@ -22,7 +22,7 @@ declare(strict_types=1); if(!defined('DATEFORMAT')) { - const DATEFORMAT = '(19|20)[0-9]{2}-[0-9]{2}-[0-9]{2}'; + define('DATEFORMAT', '(19|20)[0-9]{2}-[0-9]{2}-[0-9]{2}'); } Route::group(