From: sakamocchi Date: Thu, 20 Jan 2011 05:03:14 +0000 (+0000) Subject: Comment out the section for easy debagging. X-Git-Tag: release-3-64~85 X-Git-Url: http://git.sourceforge.jp/view?p=nucleus-jp%2Fnucleus-jp-ancient.git;a=commitdiff_plain;h=5efa783f35fa443bec4cd07b50e561cfc5066fbb;ds=sidebyside Comment out the section for easy debagging. git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@1104 1ca29b6e-896d-4ea0-84a5-967f57386b96 --- diff --git a/utf8/nucleus/libs/sql/mysql.php b/utf8/nucleus/libs/sql/mysql.php index f41b601..e5ed0a7 100755 --- a/utf8/nucleus/libs/sql/mysql.php +++ b/utf8/nucleus/libs/sql/mysql.php @@ -62,7 +62,7 @@ if (function_exists('mysql_query') && !function_exists('sql_fetch_assoc')) $MYSQL_CONN = @mysql_connect($MYSQL_HOST, $MYSQL_USER, $MYSQL_PASSWORD) or startUpError('

Could not connect to MySQL database.

', 'Connect Error'); mysql_select_db($MYSQL_DATABASE) or startUpError('

Could not select database: ' . mysql_error() . '

', 'Connect Error'); - +/* // $resource = sql_query("show variables LIKE 'character_set_database'"); $fetchDat = sql_fetch_assoc($resource); @@ -74,7 +74,7 @@ if (function_exists('mysql_query') && !function_exists('sql_fetch_assoc')) sql_query("SET CHARACTER SET " . $charset); } // */ - +*/ return $MYSQL_CONN; }