From 3131b8965e24965b9e6a28a49aa9dac33fcd003c Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Mon, 16 Jul 2018 21:23:13 +0200 Subject: [PATCH] Prepare for embedded mode --- views/layout/default.blade.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/views/layout/default.blade.php b/views/layout/default.blade.php index 272fbb73..559cccbd 100644 --- a/views/layout/default.blade.php +++ b/views/layout/default.blade.php @@ -28,8 +28,8 @@ @stack('pageStyles') - @if(file_exists(__DIR__ . '/../../data/custom_css.html')) - @php include __DIR__ . '/../../data/custom_css.html' @endphp + @if(file_exists(DATAPATH . '/custom_css.html')) + @php include DATAPATH . '/custom_css.html' @endphp @endif - @if(file_exists(__DIR__ . '/../../data/custom_js.html')) - @php include __DIR__ . '/../../data/custom_js.html' @endphp + @if(file_exists(DATAPATH . '/custom_js.html')) + @php include DATAPATH . '/custom_js.html' @endphp @endif