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),
|
||
|
]);
|