Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
Ensure 'config/bootstrapper.php" config settings cannot be overridden.
Browse files Browse the repository at this point in the history
  • Loading branch information
johanjanssens committed Aug 17, 2014
1 parent a90e3a8 commit be7ab24
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
4 changes: 0 additions & 4 deletions component/application/resources/config/bootstrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
* @link git:https://git.assembla.com/nooku-framework.git for the canonical source repository
*/

use Nooku\Library;

return array(

'priority' => Library\ObjectBootstrapper::PRIORITY_HIGH,

'aliases' => array(
'application' => 'com:application.dispatcher.http',
'translator' => 'com:application.translator',
Expand Down
4 changes: 0 additions & 4 deletions component/files/resources/config/bootstrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
* @link https://github.com/nooku/nooku-platform for the canonical source repository
*/

use Nooku\Library;

return array(

'priority' => Library\ObjectBootstrapper::PRIORITY_HIGH,

'aliases' => array(
'com:files.model.entity.directories' => 'com:files.model.entity.folders',
'com:files.model.entity.directory' => 'com:files.model.entity.folder',
Expand Down
4 changes: 0 additions & 4 deletions component/users/resources/config/bootstrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
* @link https://github.com/nooku/nooku-platform for the canonical source repository
*/

use Nooku\Library;

return array(

'priority' => Library\ObjectBootstrapper::PRIORITY_HIGH,

'aliases' => array(
'user.provider' => 'com:users.user.provider',
),
Expand Down
2 changes: 2 additions & 0 deletions config/bootstrapper.php-empty
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

return array(

'priority' => 1, //Library\ObjectBootstrapper::PRIORITY_HIGHEST,

/* Global Settings */
'caching' => false,
'debug' => '0',
Expand Down

0 comments on commit be7ab24

Please sign in to comment.