]> git.llucax.com Git - mecon/intranet.git/blobdiff - sistema/local_lib/intranetdb.php
Se borra archivo que se genera dinamicamente.
[mecon/intranet.git] / sistema / local_lib / intranetdb.php
index 02c08e4cf3508c518b0341c3b5bf851ec686ae81..203162424cad965944e9319505f20c327983d4e7 100644 (file)
@@ -41,7 +41,7 @@ class IntranetDB extends DB {
     function connect()
     {
         $config = @parse_ini_file(dirname(__FILE__).'/../conf/db.ini');
-        $dsn = @$config['dsn'] ? $config['dsn'] : 'mysql://intranet:c35b9aa6b0758@unix(/var/run/mysqld/mysql.sock)/intranet';
+        $dsn = @$config['dsn'] ? $config['dsn'] : 'mysql://intranet:c35b9aa6b0758@localhost/intranet';
         $db = DB::connect($dsn, isset($config['persistent']) ? $config['persistent'] : true);
         if (DB::isError($db)) {
             trigger_error($db->getMessage(), E_USER_ERROR);