From a7d0699a68bb9ffaa30f2a67609cd13093c838e8 Mon Sep 17 00:00:00 2001 From: michalsn Date: Thu, 12 Dec 2024 08:04:22 +0100 Subject: [PATCH] cs fix --- system/Boot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/Boot.php b/system/Boot.php index da4ea864e105..4b2d20ca95b6 100644 --- a/system/Boot.php +++ b/system/Boot.php @@ -196,12 +196,12 @@ protected static function definePathConstants(Paths $paths): void // The path to the writable directory. if (! defined('WRITEPATH')) { - $writePath = realpath(rtrim($paths->writableDirectory, '\\/ ')); - + if ($writePath === false) { header('HTTP/1.1 503 Service Unavailable.', true, 503); echo 'The WRITEPATH is not set correctly.'; + // EXIT_ERROR is not yet defined exit(1); }