fmt
This commit is contained in:
parent
189af4c9ea
commit
c9fd0028f9
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Reference in a new issue