Exemple #1
0
 public static function open($config)
 {
     self::$_db = @mysql_connect($config['hostname'], $config['username'], $config['password']);
     if (self::$_db) {
         @mysql_select_db($config['database']);
     }
 }