Files
RomhackPlaza/app/xenforo.php
2026-05-25 12:23:10 +02:00

14 lines
379 B
PHP

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