1
0
Fork 0
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:
epriestley 2011-02-07 20:55:33 -08:00
parent daa3d88580
commit 7c3cd26510

View file

@ -28,6 +28,13 @@ if (!$env) {
"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.env'] = $env;