Skip to content

Instantly share code, notes, and snippets.

Avatar

Gilles Mergoil gmergoil

View GitHub Profile
@gmergoil
gmergoil / MySqlConnector.php
Created Jun 2, 2013
A revised version of the Illuminate\Database\Connectors\MySqlConnector of the Laravel 4 framework. It fixes a bug when using the unix_socket option in the database configuration.
View MySqlConnector.php
<?php namespace Illuminate\Database\Connectors;
class MySqlConnector extends Connector implements ConnectorInterface {
/**
* Establish a database connection.
*
* @param array $options
* @return PDO
*/
You can’t perform that action at this time.