Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Jan 15, 2024
1 parent 189af4c commit c9fd002
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit c9fd002

Please sign in to comment.