chdir('/blah/vbulletin'); require_once('./global.php'); require_once('./includes/adminfunctions_template.php'); chdir('/blah/vbulletin/admincp'); require_once('./global.php'); //back end importing done, start grabbing variables and do the script echo $vbphrase['expand_all_template_groups'];