From 12ddd83cbd3f411807f78f88be28a810d147f67c Mon Sep 17 00:00:00 2001 From: Sky Johnson Date: Fri, 13 Sep 2024 22:16:24 -0500 Subject: [PATCH] Create trees dir if non-existent --- tests/test.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test.php b/tests/test.php index 9a99e4d..25a24d6 100644 --- a/tests/test.php +++ b/tests/test.php @@ -15,6 +15,9 @@ if (in_array('-f', $argv)) { echoTitle("opcache reset"); } +// create the trees directory if it doesn't exist +if (!is_dir(TREES)) mkdir(TREES); + $r = new SegmentRouter(); // Blog lookups