2018-02-10 18:33:36 +01:00
|
|
|
<?php
|
|
|
|
require __DIR__ . '/../src/_autoload.php';
|
2024-02-15 22:57:03 +01:00
|
|
|
require __DIR__ . '/../config.php';
|
2018-02-10 18:33:36 +01:00
|
|
|
|
2024-03-12 19:33:09 +01:00
|
|
|
$pdo = new \PDO($DB_DSN, $DB_USER, $DB_PASS);
|
2018-02-10 18:33:36 +01:00
|
|
|
$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),
|
|
|
|
]);
|