Skip to content

ini_set throws when headers already sent

Created by: tflori

In SessionInstance::__construct() ini_set('session.use_cookies') is throwing in php 7.2 when headers already sent. Workaround: headers_sent() || ini_set(...)