12 lines
350 B
PHP
12 lines
350 B
PHP
<?php
|
|
require __DIR__ . '/../src/_autoload.php';
|
|
require __DIR__ . '/../config.php';
|
|
|
|
$pdo = new \PDO($dbDsn, $dbUser, $dbPass);
|
|
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
|
$agenda = new \pvv\side\Agenda([
|
|
new \pvv\side\social\NerdepitsaActivity,
|
|
new \pvv\side\social\AnimekveldActivity,
|
|
new \pvv\side\DBActivity($pdo),
|
|
]);
|