summaryrefslogtreecommitdiff
path: root/2024/PHP/day_04
diff options
context:
space:
mode:
authorDJ O'Leary <dijitol@proton.me>2025-03-03 02:38:56 +0100
committerDJ O'Leary <dijitol@proton.me>2025-03-03 02:38:56 +0100
commit2996ab249a6ae29b2644061c366f88c2157652f2 (patch)
treecbfd0303eb093a55fec3b753f9c207e3cdda6f90 /2024/PHP/day_04
parent9d6066cb934f94e3bf157afc9caeb74ca5307780 (diff)
feat: Add usage instructions
Diffstat (limited to '2024/PHP/day_04')
-rw-r--r--2024/PHP/day_04/part_01.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/2024/PHP/day_04/part_01.php b/2024/PHP/day_04/part_01.php
index 250da0c..ae67a4f 100644
--- a/2024/PHP/day_04/part_01.php
+++ b/2024/PHP/day_04/part_01.php
@@ -5,7 +5,7 @@ declare(strict_types=1);
spl_autoload_register(fn(string $className) => require "{$className}.php");
// Assumes executed from workspace root
-$input = new Input('input/day_04.txt');
+$input = new Input('../_input/day_04.txt');
if ($input->contents === "") {
throw new RuntimeException("File not found");
}