Select the types of activity you want to include in your feed.
@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
···11-<?php
22-33-/*
44- * Copyright 2012 Facebook, Inc.
55- *
66- * Licensed under the Apache License, Version 2.0 (the "License");
77- * you may not use this file except in compliance with the License.
88- * You may obtain a copy of the License at
99- *
1010- * http://www.apache.org/licenses/LICENSE-2.0
1111- *
1212- * Unless required by applicable law or agreed to in writing, software
1313- * distributed under the License is distributed on an "AS IS" BASIS,
1414- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1515- * See the License for the specific language governing permissions and
1616- * limitations under the License.
1717- */
1818-1919-$include_path = ini_get('include_path');
2020-ini_set(
2121- 'include_path',
2222- $include_path.PATH_SEPARATOR.dirname(__FILE__).'/../../');
2323-2424-require_once dirname(dirname(__FILE__)).'/conf/__init_conf__.php';
2525-2626-$env = isset($_SERVER['PHABRICATOR_ENV'])
2727- ? $_SERVER['PHABRICATOR_ENV']
2828- : getenv('PHABRICATOR_ENV');
2929-if (!$env) {
3030- echo "Define PHABRICATOR_ENV before running this script.\n";
3131- exit(1);
3232-}
3333-3434-$conf = phabricator_read_config_file($env);
3535-$conf['phabricator.env'] = $env;
3636-3737-phutil_require_module('phabricator', 'infrastructure/env');
3838-PhabricatorEnv::setEnvConfig($conf);
3939-4040-phutil_load_library('arcanist/src');
4141-4242-foreach (PhabricatorEnv::getEnvConfig('load-libraries') as $library) {
4343- phutil_load_library($library);
4444-}
4545-4646-PhutilErrorHandler::initialize();
4747-PhabricatorEventEngine::initialize();
4848-4949-$tz = PhabricatorEnv::getEnvConfig('phabricator.timezone');
5050-if ($tz) {
5151- date_default_timezone_set($tz);
5252-}
5353-