actually didn't matter if admin or non.. what fixed my problem was using a temp variable for the $config array ala $threadsconfig=$config and then before the footer changing it back because the php script I was including inside actually changed the $config array to its own...