mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-09 16:32:39 +01:00
0e8ceeb690
Summary: Ref T11589. Provide a way for scripts to say "just continue if database config fails", and use it in `bin/config` and `bin/storage`. Test Plan: - Broke database config. - Ran `bin/config`, worked fine. - Ran `bin/storage`, got helpful "set up the database" message. - Ran `bin/repository`, got fatal. - Ran normal site with valid/invalid config, got proper feedback. Reviewers: chad Reviewed By: chad Maniphest Tasks: T11589 Differential Revision: https://secure.phabricator.com/D16502
12 lines
329 B
PHP
12 lines
329 B
PHP
<?php
|
|
|
|
// Initialize a setup script which may run before database connections have
|
|
// been configured. Scripts initialized in this way ignore database errors
|
|
// while building database configuration and continue.
|
|
|
|
require_once dirname(__FILE__).'/lib.php';
|
|
|
|
init_phabricator_script(
|
|
array(
|
|
'config.optional' => true,
|
|
));
|