Merge pull request #9851 from kinglozzer/director-template-provider

This commit is contained in:
Garion Herman 2021-02-25 12:40:03 +13:00 committed by GitHub
commit e9c5a50b2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1134,6 +1134,9 @@ class Director implements TemplateGlobalProvider
return [
'absoluteBaseURL',
'baseURL',
'isDev',
'isTest',
'isLive',
'is_ajax',
'isAjax' => 'is_ajax',
'BaseHref' => 'absoluteBaseURL', //@deprecated 3.0