nao-pon/xelfinder

xelFinderSession.class.php - fixCookieRegist error

gigamaster opened this issue · 2 comments

Fail to run elfinder, so far, I have to comment fixCookieRegist:
/** * {@inheritdoc} */ public function __construct() { parent::__construct(); $this->fixCookieRegist = false; return $this; }

and revert to session_start

@gigamaster This is fixed in my local repository as follows: Included in the next push.

Thanks! 👍

class xelFinderSession extends elFinderSession
{
    /**
     * {@inheritdoc}
     */
    public function __construct($opts)
    {
        parent::__construct($opts);
        $this->fixCookieRegist = false;
        return $this;
    }
}

I will try this fix. Thanks again ^_^/