Esempio n. 1
0
 public static function project_edit()
 {
     if (!isset($GLOBALS['project']) || !$GLOBALS['project'] instanceof Project) {
         SystemEvent::raise(SystemEvent::ERROR, "Problems fetching requested project.", __METHOD__);
         Redirector::redirectToUri(UrlManager::getForDashboard());
         exit;
     }
     $GLOBALS['smarty']->assign('project_availableConnectors', ScmConnector::getAvailableConnectors());
 }