Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsn committed Dec 12, 2024
1 parent 959b4e4 commit a7d0699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/Boot.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a7d0699

Please sign in to comment.