diff --git a/Web/event/errorHandler.php b/Web/event/errorHandler.php index ec2b26e..91218dd 100644 --- a/Web/event/errorHandler.php +++ b/Web/event/errorHandler.php @@ -38,6 +38,6 @@ public function error(string $function, string $message, string $code): void public function sessionRequired(string $function): void { - $this->error($function,'Internal Server Error - An active PHP session is required to run this function.', 500); + $this->error($function, 'Internal Server Error - An active PHP session is required to run this function.', 500); } -} \ No newline at end of file +} diff --git a/Web/index.php b/Web/index.php index 7081da9..cf570d6 100644 --- a/Web/index.php +++ b/Web/index.php @@ -4,10 +4,9 @@ * @author Lewis Milburn * @license Apache 2.0 International License */ - ob_start(); session_start(); -require_once __DIR__ . '/loader.php'; +require_once __DIR__.'/loader.php'; -ob_end_flush(); \ No newline at end of file +ob_end_flush(); diff --git a/Web/loader.php b/Web/loader.php index 5bea458..e8973d5 100644 --- a/Web/loader.php +++ b/Web/loader.php @@ -1,10 +1,10 @@