requireAuth(); $attrs = $as->getAttributes(); $pdo = new \PDO($dbDsn, $dbUser, $dbPass); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $projectManager = new \pvv\side\ProjectManager($pdo); $project = new \pvv\side\Project( 0, 'Nytt Prosjekt', '', $attrs["cn"][0], $attrs["uid"][0], 1 ); ?>
'; }else{ echo 'logg inn'; } ?>