[wp-hackers] WP, PHP5, PEAR::DB, SQLite
Matthew Mullenweg
m at mullenweg.com
Sun Jul 18 17:20:27 UTC 2004
On Jul 17, 2004, at 4:27 PM, kellan at protest.net wrote:
> Jeremy in his own contrarian way does hit the *other* key piece of
> cross
> db support, centralizing your SQL calls into a library. Which in the
> case
> of WP is going to be significantly more work. In the mean time the
> code
> will run under PHP5.
Well we already have the easy part down, which is moving all database
calls into a class. The only place there should be mysql_* functions is
in wp-db.php. If you want to work on this, just replace that file with
the SQLite version and see what breaks.
--
Matt Mullenweg
http://photomatt.net | http://wordpress.org
http://pingomatic.com | more soon...
More information about the hackers
mailing list