Create mysqli instance in global namespace. 

"new mysqli" don't works in FM\ElFinderPHP\Driver namespace. It must be "new \mysqli".