Peder Bergebakken Sundt
9f38e2af1a
This is to minimize problems arizing from adding and removing recurring events
12 lines
354 B
PHP
12 lines
354 B
PHP
<?php
|
|
require __DIR__ . '/../src/_autoload.php';
|
|
require __DIR__ . '/../sql_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),
|
|
]);
|