From e960f73fb670d823ddc3784b17407f775ece312a Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 15 Jan 2024 21:49:16 +0000 Subject: [PATCH] fmt --- core/install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/install.php b/core/install.php index 3d51bef4..d82e55cb 100644 --- a/core/install.php +++ b/core/install.php @@ -46,7 +46,7 @@ function install(): void if ($dsn) { do_install($dsn); } else { - if(PHP_SAPI == 'cli') { + if (PHP_SAPI == 'cli') { print("INSTALL_DSN needs to be set for CLI installation\n"); } else { ask_questions(); @@ -314,7 +314,7 @@ function write_config(string $dsn): void } if (file_put_contents("data/config/shimmie.conf.php", $file_content, LOCK_EX)) { - if(PHP_SAPI == 'cli') { + if (PHP_SAPI == 'cli') { print("Installation Successful\n"); exit(0); } else {