[wp-hackers] Change vor wp-load.php
otto at ottodestruct.com
Tue Oct 6 17:56:37 UTC 2009
No, you should put your includes in the wp-config.php instead.
wp-config.php is included almost immediately in the wp-load.php, and
wp-config.php doesn't get overwritten on an upgrade either.
On Tue, Oct 6, 2009 at 9:59 AM, Frank Bueltge <frank at bueltge.de> wrote:
> Hello Hackers,
> i use different libraries for more security in WordPress and i load
> this with include in the wp-load.php.
> Please, can add an constant or file_exists() for an custom file to
> hook/include in this point before load WP.
> Maybe this is a solution:
> if ( defined('WP_LOAD') )
> @include ABSPATH . '/advanced-load.php';
> In the file advanced-load.php will iclude it my files and other
> content for the load to WP.
> Sorry for my bad english.
> I hope you understand my problem.
More information about the wp-hackers