Hello!

To see the file structure, click on "tree".

Note that updates take place every 10 minutes, commits may not be seen immediately.
Includes indirect listing of db conection info
authorpreecej <preecej@localhost>
Wed, 17 Aug 2011 23:57:05 +0000 (23:57 +0000)
committerpreecej <preecej@localhost>
Wed, 17 Aug 2011 23:57:05 +0000 (23:57 +0000)
svn path=/; revision=164

preecej/semantic_wiki/services/TermSearch_JSON.php

index 89c103326a2f6ba0c635f7131b4e3268bf9a8708..8be6a577da9d48e3a8f651849d8e2736dccf77c9 100644 (file)
@@ -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':