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) {