Added XenForo route system and custom menu render.
This commit is contained in:
8
app/xenforo.php
Normal file
8
app/xenforo.php
Normal 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 );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user