Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/check/PhabricatorPHPPreflightSetupCheck.php
Context not available. | |||||
$functions = preg_split('/[, ]+/', $disable_value); | $functions = preg_split('/[, ]+/', $disable_value); | ||||
$functions = array_filter($functions); | $functions = array_filter($functions); | ||||
foreach ($functions as $k => $function) { | foreach ($functions as $k => $function) { | ||||
if (preg_match('/^pcntl_/', $function)) { | if (@preg_match('/^pcntl_/', $function)) { | ||||
unset($functions[$k]); | unset($functions[$k]); | ||||
} | } | ||||
} | } | ||||
Context not available. | |||||
} | } | ||||
$open_basedir = ini_get('open_basedir'); | $open_basedir = ini_get('open_basedir'); | ||||
if (strlen($open_basedir)) { | if (@strlen($open_basedir)) { | ||||
// If `open_basedir` is set, just fatal. It's technically possible for | // If `open_basedir` is set, just fatal. It's technically possible for | ||||
// us to run with certain values of `open_basedir`, but: we can only | // us to run with certain values of `open_basedir`, but: we can only | ||||
// raise fatal errors from preflight steps, so we'd have to do this check | // raise fatal errors from preflight steps, so we'd have to do this check | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0