Rought cut of search.

Summary: Botched this pretty badly in git so we'll see how much I broke. :/

Test Plan:

Reviewers:

CC:
This commit is contained in:
epriestley
2011-02-14 15:34:20 -08:00
parent fcc467fe5e
commit 147d2e2e3d
43 changed files with 1183 additions and 30 deletions

View File

@@ -19,18 +19,8 @@
$root = dirname(dirname(dirname(__FILE__)));
require_once $root.'/scripts/__init_script__.php';
require_once $root.'/scripts/__init_env__.php';
$env = getenv('PHABRICATOR_ENV');
if (!$env) {
echo "Define PHABRICATOR_ENV before running scripts.\n";
exit(1);
}
$conf = phabricator_read_config_file($env);
$conf['phabricator.env'] = $env;
phutil_require_module('phabricator', 'infrastructure/env');
PhabricatorEnv::setEnvConfig($conf);
phutil_require_module('phutil', 'symbols');
PhutilSymbolLoader::loadClass('PhabricatorMetaMTADaemon');