private function connect()
{
$mysqli = new mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_DATABASE);
if (mysqli_connect_errno()) {
echo 'eror connect database';
return false;
} else {
return $mysqli;
}
}
xdebug.idekey="PHPSTORM"
zend_extension=xdebug.so
xdebug.remote_autostart=0
xdebug.remote_enable=0
xdebug.profiler_enable=0
xdebug.remote_enable=1
xdebug.idekey=some_key