I have 2 'libraries' which I need to include on the same page. Simple Machine Forums and Wordpress.
However both have the function is_admin() which conflicts with each other.
Fatal error: Cannot redeclare is_admin() (previously declared
in /home/site.com/wordpress/wp-includes/query.php:100)in /home/site.com/smf/Sources/Security.php on line 82)
What would be the best way to get around this? As I dont want to have to modify all calls to one library to be is_admin2() for example.