5 Commits

Author SHA1 Message Date
Matthew Bucci
c60d8f90b1 Migrate install rewriting to new rewriters 2023-11-07 15:26:03 -08:00
Matthew Bucci
1bde430f0d PHP 8 compatibility fixes 2023-10-28 02:43:59 -07:00
Kevin Locke
2fc28e9bd8 Only instantiate when DB_USER is defined
During setup, before wp-content.php is created and DB_USER is defined,
there is no way to instantiate it meaningfully.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-06-30 15:37:14 -07:00
Kevin Locke
3c98f08453 Define WP_USE_EXT_MYSQL for Wordpress 4 compatibility
Wordpress 4 defaults to using mysqli_* functions in preference to
mysql_*.  Since pg4wp only provides replacements for mysql_ functions,
we need to ensure that the mysql_* functions are called.  Do this by
defining WP_USE_EXT_MYSQL to true.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2015-06-03 00:38:31 -06:00
hawk__
725baa8cfb Split 'db.php' so it is now just some kind of a 'bootloader'
The 'pg4wp' directory should be put in 'wp-content' instead of 'wp-content/plugins' (which is still supported)

git-svn-id: https://plugins.svn.wordpress.org/postgresql-for-wordpress/trunk@418484 b8457f37-d9ea-0310-8a92-e5e31aec5664
2011-08-02 23:27:36 +00:00