Update of /cvsroot/phpwiki/phpwiki/lib/WikiDB
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4930/WikiDB
Modified Files:
backend.php
Log Message:
support ENABLE_LIVESEARCH, enable PDO sessions
Index: backend.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiDB/backend.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -2 -b -p -d -r1.22 -r1.23
--- backend.php 22 Dec 2004 15:47:40 -0000 1.22
+++ backend.php 11 Feb 2005 14:45:44 -0000 1.23
@@ -555,4 +555,7 @@ class WikiDB_backend
function qstr ($s) { return $s; }
+ function isSQL () {
+ return in_array(DATABASE_TYPE, array('SQL','ADODB','PDO'));
+ }
};
@@ -621,5 +624,4 @@ class WikiDB_backend_search
return "preg_match(\"/\".$word.\"/\"".($this->_case_exact ?
"i":"").")";
}
-
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|