Bugfix: the curl option CURLOPT_SSL_VERIFYHOST is problematic

This commit is contained in:
Michael 2017-02-25 13:59:24 +00:00
commit da8a48f89e
3 changed files with 11 additions and 4 deletions

View file

@ -11,7 +11,6 @@ if (!file_exists("boot.php") AND (sizeof($_SERVER["argv"]) != 0)) {
}
use \Friendica\Core\Config;
use \Friendica\Core\PConfig;
require_once("boot.php");
@ -29,6 +28,8 @@ function poller_run($argv, $argc){
unset($db_host, $db_user, $db_pass, $db_data);
};
Config::load();
// Quit when in maintenance
if (Config::get('system', 'maintenance', true)) {
return;