[wp-hackers] Change vor wp-load.php

Frank Bueltge frank at bueltge.de
Tue Oct 6 18:07:45 UTC 2009

Thanks for your answer.
You say, it is also possible to include in the wp-config.php?
is is correct after:
require_once(ABSPATH . 'wp-settings.php');

So it is is possible to use the constant ABSPATH


On Tue, Oct 6, 2009 at 7:56 PM, Otto <otto at ottodestruct.com> wrote:
> 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.
> -Otto
> 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.
>> Frank
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list