mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-03 11:21:01 +01:00
Do an explicit check for MySQL install status.
Summary: Test Plan: Reviewers: CC:
This commit is contained in:
parent
daa3d88580
commit
7c3cd26510
1 changed files with 7 additions and 0 deletions
|
@ -28,6 +28,13 @@ if (!$env) {
|
||||||
"is one of 'development', 'production', or a custom environment.");
|
"is one of 'development', 'production', or a custom environment.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!function_exists('mysql_connect')) {
|
||||||
|
header('Content-Type: text/plain');
|
||||||
|
die(
|
||||||
|
"CONFIG ERROR: ".
|
||||||
|
"the PHP MySQL extension is not installed. This extension is required.");
|
||||||
|
}
|
||||||
|
|
||||||
$conf = phabricator_read_config_file($env);
|
$conf = phabricator_read_config_file($env);
|
||||||
$conf['phabricator.env'] = $env;
|
$conf['phabricator.env'] = $env;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue