Fix some daemon ish.

This commit is contained in:
epriestley
2011-04-02 15:01:55 -07:00
parent 173eaf48f4
commit c2f10f19b1
3 changed files with 6 additions and 1 deletions

View File

@@ -16,6 +16,9 @@
* limitations under the License.
*/
$include_path = ini_get('include_path');
ini_set('include_path', $include_path.':'.dirname(__FILE__).'/../../');
require_once dirname(dirname(__FILE__)).'/conf/__init_conf__.php';
$env = getenv('PHABRICATOR_ENV');
@@ -30,6 +33,7 @@ $conf['phabricator.env'] = $env;
phutil_require_module('phabricator', 'infrastructure/env');
PhabricatorEnv::setEnvConfig($conf);
foreach (PhabricatorEnv::getEnvConfig('load-libraries') as $library) {
phutil_load_library($library);
}