public function __construct($elFinder, $debug = false) { $this->elFinder = $elFinder; $this->reqMethod = strtoupper($_SERVER["REQUEST_METHOD"]); if ($debug) { self::$contentType = 'Content-Type: text/html; charset=utf-8'; } }