fmt
This commit is contained in:
@@ -41,7 +41,7 @@ function install()
|
|||||||
if ($dsn) {
|
if ($dsn) {
|
||||||
do_install($dsn);
|
do_install($dsn);
|
||||||
} else {
|
} else {
|
||||||
if(PHP_SAPI == 'cli') {
|
if (PHP_SAPI == 'cli') {
|
||||||
print("INSTALL_DSN needs to be set for CLI installation\n");
|
print("INSTALL_DSN needs to be set for CLI installation\n");
|
||||||
} else {
|
} else {
|
||||||
ask_questions();
|
ask_questions();
|
||||||
@@ -312,7 +312,7 @@ function write_config($dsn)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (file_put_contents("data/config/shimmie.conf.php", $file_content, LOCK_EX)) {
|
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");
|
print("Installation Successful\n");
|
||||||
exit(0);
|
exit(0);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user