@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
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Delete __init_env__.php

Summary: This script is not used since D976.

Test Plan:
grep init_env

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Koolvin

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

vrana 74ef98e7 c901f838

-53
-53
scripts/__init_env__.php
··· 1 - <?php 2 - 3 - /* 4 - * Copyright 2012 Facebook, Inc. 5 - * 6 - * Licensed under the Apache License, Version 2.0 (the "License"); 7 - * you may not use this file except in compliance with the License. 8 - * You may obtain a copy of the License at 9 - * 10 - * http://www.apache.org/licenses/LICENSE-2.0 11 - * 12 - * Unless required by applicable law or agreed to in writing, software 13 - * distributed under the License is distributed on an "AS IS" BASIS, 14 - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 - * See the License for the specific language governing permissions and 16 - * limitations under the License. 17 - */ 18 - 19 - $include_path = ini_get('include_path'); 20 - ini_set( 21 - 'include_path', 22 - $include_path.PATH_SEPARATOR.dirname(__FILE__).'/../../'); 23 - 24 - require_once dirname(dirname(__FILE__)).'/conf/__init_conf__.php'; 25 - 26 - $env = isset($_SERVER['PHABRICATOR_ENV']) 27 - ? $_SERVER['PHABRICATOR_ENV'] 28 - : getenv('PHABRICATOR_ENV'); 29 - if (!$env) { 30 - echo "Define PHABRICATOR_ENV before running this script.\n"; 31 - exit(1); 32 - } 33 - 34 - $conf = phabricator_read_config_file($env); 35 - $conf['phabricator.env'] = $env; 36 - 37 - phutil_require_module('phabricator', 'infrastructure/env'); 38 - PhabricatorEnv::setEnvConfig($conf); 39 - 40 - phutil_load_library('arcanist/src'); 41 - 42 - foreach (PhabricatorEnv::getEnvConfig('load-libraries') as $library) { 43 - phutil_load_library($library); 44 - } 45 - 46 - PhutilErrorHandler::initialize(); 47 - PhabricatorEventEngine::initialize(); 48 - 49 - $tz = PhabricatorEnv::getEnvConfig('phabricator.timezone'); 50 - if ($tz) { 51 - date_default_timezone_set($tz); 52 - } 53 -