From 89696b43367be1d4c6e26a770a5389924fe1a785 Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 7 Aug 2023 14:29:12 +0300 Subject: [PATCH] fix paths --- src/public/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/public/index.php b/src/public/index.php index 1fe65a1..44bc02d 100644 --- a/src/public/index.php +++ b/src/public/index.php @@ -11,7 +11,7 @@ $result = []; - if ($signals = file_get_contents('SIGNALS/YGGDRASIL.md')) { + if ($signals = file_get_contents(__DIR__ . '/../../SIGNALS/YGGDRASIL.md')) { foreach (explode(PHP_EOL, $signals) as $signal) { @@ -48,7 +48,7 @@ $keywords = []; - if ($signals = file_get_contents('SIGNALS/YGGDRASIL.md')) { + if ($signals = file_get_contents(__DIR__ . '/../../SIGNALS/YGGDRASIL.md')) { foreach (explode(PHP_EOL, $signals) as $signal) {