// project_get_auto_PPer include_once $relPath . 'misc.inc'; // requester_is_localhost() include_once 'autorelease.inc'; $one_project = validate_projectID('project', @$_GET['project'], true); $refresh_url = @$_GET['return_uri']; // The following users are authorized to run this script: // 1) localhost (eg: run from crontab) - can operate on all projects // 2) SA and PFs - can operates on all projects // 3) PMs - can operate only on their own projects if (!requester_is_localhost()) { require_login(); if (!user_is_a_sitemanager() && !user_is_proj_facilitator()) { if ($one_project) { $project = new Project($one_project); if (!$project->can_be_managed_by_user($pguser)) { die('You are not authorized to invoke this script.'); } } else { die('You are not authorized to invoke this script.'); } } } if (!isset($refresh_url)) { $refresh_url = 'projectmgr.php'; } $trace = FALSE; // ----------------------------------------------------------------------------- function pages_indicate_bad_project($projectid, $round) { global $trace;