}
function people_main() {
- if(logged_in() != 1) { # FIXME get more sophisticated than first person in database is admin
+ if(!logged_in_as_contractor()) {
$GLOBALS['url'] = this_url();
message('You must be logged in as an administrator to access that function');
return 'login';