Added XenForo route system and custom menu render.

This commit is contained in:
2026-05-21 13:20:16 +02:00
parent 95f0b4ff01
commit 7cd6dfddda
13 changed files with 310 additions and 14 deletions

8
app/xenforo.php Normal file
View File

@@ -0,0 +1,8 @@
<?php
if( !function_exists( 'xfRoute' ) ){
function xfRoute( string $routeName, array $arguments = [] ): string {
return app(\App\Services\XenforoService::class)->getRoute( $routeName, $arguments );
}
}