I'm trying to use one of the basic SSI functions on my main site page (wordpress)
when adding this code
$smf_path = "/home/forums/";
if (!defined('SMF')){
require($smf_path."SSI.php");
}to the head of my WP page I get this error:
LainaaFatal error: Cannot redeclare is_admin() (previously declared in /home/wp-includes/query.php:24) in /home/forums/Sources/Security.php on line 816
any ideas?
after some digging it turns out both applications use the same function name... making an integration between the two systems OH so much more fun...
this is probably why a worthwhile WP/SMF bridge hasn't been built yet.