Fix requires for admin landing page
This commit is contained in:
parent
3d3903eadc
commit
ee42e932e9
|
@ -1,5 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
|
require __DIR__ . '/../../inc/navbar.php';
|
||||||
|
require __DIR__ . '/../../src/_autoload.php';
|
||||||
require_once __DIR__ . '/../../vendor/simplesamlphp/simplesamlphp/lib/_autoload.php';
|
require_once __DIR__ . '/../../vendor/simplesamlphp/simplesamlphp/lib/_autoload.php';
|
||||||
|
require __DIR__ . '/../../sql_config.php';
|
||||||
|
|
||||||
$pdo = new \PDO($dbDsn, $dbUser, $dbPass);
|
$pdo = new \PDO($dbDsn, $dbUser, $dbPass);
|
||||||
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||||
|
|
Loading…
Reference in New Issue