public function __construct($elFinder, $debug = false) { $this->elFinder = $elFinder; if ($debug) { $this->header = 'Content-Type: text/html; charset=utf-8'; } }