Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
123456789101112131415161718192021222324<?php
function init_phabricator_script(array $options) { error_reporting(E_ALL | E_STRICT); ini_set('display_errors', 1);
$include_path = ini_get('include_path'); ini_set( 'include_path', $include_path.PATH_SEPARATOR.dirname(__FILE__).'/../../../'); @include_once 'libphutil/scripts/__init_script__.php'; if (!@constant('__LIBPHUTIL__')) { echo "ERROR: Unable to load libphutil. Update your PHP 'include_path' to ". "include the parent directory of libphutil/.\n"; exit(1); }
phutil_load_library('arcanist/src'); phutil_load_library(dirname(__FILE__).'/../../src/');
$config_optional = $options['config.optional']; PhabricatorEnv::initializeScriptEnvironment($config_optional);}