From: Marcus Müller <25648755+M-arcus@users.noreply.github.com> Date: Wed, 18 Apr 2018 09:40:16 +0000 (+0200) Subject: [TASK] Remove auto_install.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=96d8591b95e10fda6dee639d222c3368ec9a0e73;p=friendica.git [TASK] Remove auto_install.php --- diff --git a/auto_install.php b/auto_install.php deleted file mode 100644 index bc418d6889..0000000000 --- a/auto_install.php +++ /dev/null @@ -1,159 +0,0 @@ -config['php_path'])) { - check_php($app->config['php_path'], $checks); - } else { - die(" ERROR: The php_path is not set in the config. Please check the file .htconfig.php.\n"); - } - - echo " NOTICE: Not checking .htaccess/URL-Rewrite during CLI installation.\n"; - - return $checks; -} - -function run_database_check() -{ - global $db_host; - global $db_user; - global $db_pass; - global $db_data; - - $result = array( - 'title' => 'MySQL Connection', - 'required' => true, - 'status' => true, - 'help' => '', - ); - - if (!dba::connect($db_host, $db_user, $db_pass, $db_data, true)) { - $result['status'] = false; - $result['help'] = 'Failed, please check your MySQL settings and credentials.'; - } - - return $result; -}