[wp-trac] Re: [WordPress Trac] #9474: Installation fails produces a
blank screen on a default CentOS 5 Server Install
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 8 13:45:22 GMT 2009
#9474: Installation fails produces a blank screen on a default CentOS 5 Server
Install
----------------------------+-----------------------------------------------
Reporter: shawnmjones | Owner: anonymous
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.8
Component: Administration | Version: 2.7.1
Severity: major | Keywords: has-patch 2nd-opinion
----------------------------+-----------------------------------------------
Comment(by Denis-de-Bernardy):
probably something like this...
in wp-load.php:
if no config file, then define(WP_CONFIG_CHECK) (or maybe WP_INSTALLING,
if that works out of the box), then include wp-settings
in wp-settings.php:
if defined WP_CONFIG_CHECK, return once the needed functions are defined
That way, there wouldn't be two separate checks for the mysql extension in
the code base -- one of which we're bound to forget about.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9474#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list