[wp-trac] Re: [WordPress Trac] #5090: maybe_create_table call to
config.php issue
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 23 19:50:11 GMT 2007
#5090: maybe_create_table call to config.php issue
----------------------------+-----------------------------------------------
Reporter: mattyrob | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.3.1
Component: Administration | Version: 2.3
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+-----------------------------------------------
Comment (by westi):
Replying to [comment:6 mattyrob]:
> @Ryan,
>
> Same problem in that file too though as there is a call to wp-config.php
using a relative path.
>
> I'm trying to use the maybe_create_table function and test for its
existence first, if it's not declared I require one of the files that
defines it - but the calls to wp-config are creating errors (in both
upgrade.php and install-helper.php)
>
> By using ABSPATH the errors are resoved (in both files)
if ABSPATH is defined then wp-config.php has already been included!
--
Ticket URL: <http://trac.wordpress.org/ticket/5090#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list