1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00

Use full namespace when calling from resources

This commit is contained in:
David Bomba 2020-11-16 09:21:38 +11:00
parent 87ca437d1a
commit 0e8bfa18a9

View File

@ -56,7 +56,7 @@
<link rel="canonical" href="{{ config('ninja.site_url') }}/{{ request()->path() }}"/>
@if((bool) Ninja::isSelfHost())
@if((bool) \App\Utils\Ninja::isSelfHost())
<style>
{!! $client->getSetting('portal_custom_css') !!}
</style>
@ -67,7 +67,7 @@
{{-- Feel free to push anything to header using @push('header') --}}
@stack('head')
@if((bool) Ninja::isSelfHost())
@if((bool) \App\Utils\Ninja::isSelfHost())
{!! $client->getSetting('portal_custom_head') !!}
@endif
</head>
@ -92,12 +92,12 @@
@yield('footer')
@stack('footer')
@if((bool) Ninja::isSelfHost())
@if((bool) \App\Utils\Ninja::isSelfHost())
{!! $client->getSetting('portal_custom_footer') !!}
@endif
</footer>
@if((bool) Ninja::isSelfHost())
@if((bool) \App\Utils\Ninja::isSelfHost())
<script>
{!! $client->getSetting('portal_custom_js') !!}
</script>