Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Σταύρος Παπαδάκης
gredu_labs
Commits
b75fd070
Commit
b75fd070
authored
Feb 15, 2016
by
Vassilis Kanellopoulos
Browse files
freeze db; remove old config files
parent
51bfb4ac
Changes
9
Hide whitespace changes
Inline
Side-by-side
config/acl.global.php
deleted
100644 → 0
View file @
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'
]],
],
],
],
];
config/cas.local.php.dist
deleted
100644 → 0
View file @
51bfb4ac
<?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
config/db.local.php.dist
deleted
100644 → 0
View file @
51bfb4ac
<?php
return
[
'db'
=>
[
'dsn'
=>
''
,
'user'
=>
null
,
'pass'
=>
null
,
'options'
=>
[
],
],
];
\ No newline at end of file
config/global.php
deleted
100644 → 0
View file @
51bfb4ac
<?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'
,
],
];
config/inventory.local.php.dist
deleted
100644 → 0
View file @
51bfb4ac
<?php
return
[
'inventory'
=>
[
'base_uri'
=>
''
,
],
];
\ No newline at end of file
config/ldap.local.php.dist
deleted
100644 → 0
View file @
51bfb4ac
<?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
config/local.php.dist
deleted
100644 → 0
View file @
51bfb4ac
<?php
return
[
'determineRouteBeforeAppMiddleware'
=>
false
,
'displayErrorDetails'
=>
false
,
];
config/navigation.global.php
deleted
100644 → 0
View file @
51bfb4ac
<?php
return
[
'navigation'
=>
[
'main'
=>
[
[
'label'
=>
'Αρχική'
,
'route'
=>
'index'
,
],
[
'label'
=>
'Σύνδεση'
,
'route'
=>
'user.login'
,
],
[
'label'
=>
'Αποσύνδεση'
,
'route'
=>
'user.logout'
,
'id'
=>
'nav-logout'
,
],
],
],
];
module/application/bootstrap.php
View file @
b75fd070
...
...
@@ -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'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment