Homec4science

Consolidate environmental initialization

Authored by epriestley <git@epriestley.com> on Dec 25 2012, 15:15.

Description

Consolidate environmental initialization

Summary:
We have a bunch of code duplication now between __init_script__.php and webroot/index.php. Consoldiate these methods and move them into PhabricatorEnv.

Merge PhabricatorRequestOverseer into PhabricatorStartup.

Test Plan: Loaded page, ran script. Wiped PHABRICATOR_ENV; loaded page, ran script; got errors.

Reviewers: btrahan, vrana

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2223

Differential Revision: https://secure.phabricator.com/D4283

Details

Committed
epriestley <git@epriestley.com>Dec 25 2012, 15:15
Pushed
aubortJan 31 2017, 17:16
Parents
rPHed58f6c5f451: Move a lot of pre-request checks to PhabricatorStartup
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH9e6d59829ced: Consolidate environmental initialization (authored by epriestley <git@epriestley.com>).Dec 25 2012, 15:15