[FreeBSD] something is borked with preamble

This commit is contained in:
Eitan Adler 2016-06-09 21:08:36 -07:00 committed by Muhammad Moinur Rahman
parent 2d66171da2
commit 02c35f8fd7

View file

@ -90,6 +90,7 @@ function phabricator_startup() {
// If the preamble script exists, load it.
$t_preamble = microtime(true);
$preamble_path = $root.'/support/preamble.php';
$_SERVER['HTTPS'] = true;
if (file_exists($preamble_path)) {
require_once $preamble_path;
}