From c9fd0028f94e8fa7e62866da3b66038c3893bf75 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 15 Jan 2024 21:49:02 +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 d11d5a47..d5113156 100644 --- a/core/install.php +++ b/core/install.php @@ -41,7 +41,7 @@ function install() 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(); @@ -312,7 +312,7 @@ function write_config($dsn) } 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 {