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