X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/e0e275daf3624e7c6bfce0eb27717d14572273ce..22697d7dcb9c700a75c795c618d8a2fe3e51a9bd:/sistema/local_lib/intranetdb.php?ds=inline diff --git a/sistema/local_lib/intranetdb.php b/sistema/local_lib/intranetdb.php index 02c08e4..80e717b 100644 --- a/sistema/local_lib/intranetdb.php +++ b/sistema/local_lib/intranetdb.php @@ -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:p007b2036@localhost/intranet'; $db = DB::connect($dsn, isset($config['persistent']) ? $config['persistent'] : true); if (DB::isError($db)) { trigger_error($db->getMessage(), E_USER_ERROR);