freeze db; remove old config files

parent 51bfb4ac
<?php return [
'acl' => [
'default_role' => 'guest',
'roles' => [
'guest' => [],
'user' => [],
'admin' => ['user'],
],
'resoures' => [],
'guards' => [
'resources' => [],
'callables' => [],
'routes' => [
['/', ['guest', 'user'], ['get']],
['/user/login', ['guest'], ['get', 'post']],
['/user/login-sso', ['guest'], ['get']],
['/user/logout', ['user'], ['get']],
],
],
],
];
<?php return [
'phpcas' => [
'serverVersion' => 'S1',
'proxy' => false,
'serverHostname' => '',
'serverPort' => 443,
'serverUri' => '/cas',
'changeSessionId' => false,
'handleLogoutRequests' => true,
'allowedClients' => [],
'lang' => 'CAS_Languages_Greek',
'casServerCaCert' => '',
'casServerCnValidate' => '',
'noCasServerValidation' => true,
],
];
\ No newline at end of file
<?php return [
'db' => [
'dsn' => '',
'user' => null,
'pass' => null,
'options' => [
],
],
];
\ No newline at end of file
<?php return [
// Slim Settings
'determineRouteBeforeAppMiddleware' => false,
'displayErrorDetails' => false,
// View settings
'view' => [
'template_path' => __DIR__ . '/../app/templates',
'twig' => [
'cache' => __DIR__ . '/../data/cache/twig',
'debug' => true,
'auto_reload' => true,
],
],
// monolog settings
'logger' => [
'name' => 'app',
'path' => __DIR__ . '/../data/log/' . (isset($_SERVER['SERVER_ADDR']) ? $_SERVER['SERVER_ADDR'] . '/' : '') . 'app.log',
],
];
<?php return [
'inventory' => [
'base_uri' => '',
],
];
\ No newline at end of file
<?php return [
'ldap' => [
'host' => '',
'username' => '',
'password' => '',
'baseDn' => '',
'port' => 389,
'useSsl' => false,
'bindRequiresDn' => true,
'accountCanonicalForm' => null,
'accountDomainName' => null,
'accountDomainNameShort' => null,
'accountFilterFormat' => null,
'allowEmptyPassword' => false,
'useStartTls' => false,
'optReferrals' => false,
'tryUsernameSplit' => true,
'networkTimeout' => null,
],
];
\ No newline at end of file
<?php return [
'determineRouteBeforeAppMiddleware' => false,
'displayErrorDetails' => false,
];
<?php return [
'navigation' => [
'main' => [
[
'label' => 'Αρχική',
'route' => 'index',
],
[
'label' => 'Σύνδεση',
'route' => 'user.login',
],
[
'label' => 'Αποσύνδεση',
'route' => 'user.logout',
'id' => 'nav-logout',
],
],
],
];
......@@ -28,7 +28,7 @@ return function (Slim\App $app) {
$container['settings']['db']['user'],
$container['settings']['db']['pass']
);
// RedBeanPHP\R::freeze();
RedBeanPHP\R::freeze();
$container['view'] = function ($c) {
$settings = $c['settings'];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment