Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Having trouble integrating WP functions

@ixray2

Member

Here is a quick workaround I just figured out, but I’m not sure this is state of the art:

Instead of

require_once(dirname(__FILE__) . '/../wp-blog-header.php');

in config.php, I put

`if ( !defined(‘DB_NAME’) && !strstr($_SERVER[“PHP_SELF”],’bb-admin’) )

require_once(dirname(__FILE__) . ‘/../wp-blog-header.php’); `

Skip to toolbar