Marius Karstedt
Marius Karstedt
Hello, I answerd you in the PR #592. ~ Marius
Hello, nice implementation, but can you provide an example where you need a dynamic second level domain? ~ Marius
Hello, Thank you for reporting this issue. I found the issue and created the PR #609. Now we have to wait for @skipperbent to merge. ~ Marius
Hello, my code for that isn't perfect, but here is how I did it. First I registered three routes: ``` Router::get('/', '\rpcms\website\controllers\RedirectController@noLanguage'); Router::get('/{language}/', 'IndexController@renderPageView')->where(array('language' => 'de')); Router::get('/{language}/', 'IndexController@renderPageView')->where(array('language' => 'en'));...
Hello, if you don't need this functionality anymore or my comment helped you, please close your issue. Thank you. ~ Marius
Hello, I recommend creating your own ExceptionHandler: ``` class ExceptionHandler implements IExceptionHandler { public function handleError(Request $request, Exception $exception): void{ if($exception instanceof TokenMismatchException){ [...Your Code...] } } } ``` you...
Hey, could you please share your code with us so that I can take a look and reproduce the issue? I need the exception handler, your controller / route and...
Hello, could you provide me with the lines of code where you are using this function and the full error including the Trace (File names and lines)? ~ Marius
Hello @AlexanderSchaller, thank you for reporting this issue. I didn't test the router with PHP 8.1, because my environment doesn't support it jet. I created the PR #610 that is...
Hello, can you please describe your question a bit more detailed? Where do you want to class hint a class? ~ Marius