From adebf4d1ddf0168aef4be5ae267ef8b2173d4c95 Mon Sep 17 00:00:00 2001 From: preecej Date: Wed, 17 Aug 2011 23:57:05 +0000 Subject: [PATCH] Includes indirect listing of db conection info svn path=/; revision=164 --- preecej/semantic_wiki/services/TermSearch_JSON.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preecej/semantic_wiki/services/TermSearch_JSON.php b/preecej/semantic_wiki/services/TermSearch_JSON.php index 89c1033..8be6a57 100644 --- a/preecej/semantic_wiki/services/TermSearch_JSON.php +++ b/preecej/semantic_wiki/services/TermSearch_JSON.php @@ -28,8 +28,8 @@ if(isset($_GET['user']) && ($_GET['user']) == 'paw') { : 'json'; //json is the default /* connect to the db */ - $link = mysql_connect($_SERVER['mysql_host'], $_SERVER['mysql_user'], $_SERVER['mysql_pw']) or die('Cannot connect to the DB'); - mysql_select_db($_SERVER['mysql_db'],$link) or die('Cannot select the DB'); + $link = mysql_connect($_SERVER['dev_po_host'], $_SERVER['dev_po_user'], $_SERVER['dev_po_pw']) or die('Cannot connect to the DB'); + mysql_select_db($_SERVER['dev_po_db'],$link) or die('Cannot select the DB'); switch ($type) { case 'autocomplete': -- 2.34.1