14 lines
379 B
PHP
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();
|
|
}
|
|
}
|