Last active
August 16, 2018 14:14
-
-
Save bulton-fr/88cded4f084c1aba74f9fb00c8020f7b to your computer and use it in GitHub Desktop.
BFW v3 config file without comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Config file for errors system | |
* | |
* @author bulton-fr <[email protected]> | |
* @version 3.0.0 | |
* @package bfw | |
*/ | |
return [ | |
'errorRenderFct' => [ | |
'enabled' => false, | |
'default' => [ | |
'class' => '\BFW\Core\ErrorsDisplay', | |
'method' => 'defaultErrorRender' | |
], | |
'cli' => [ | |
'class' => '\BFW\Core\ErrorsDisplay', | |
'method' => 'defaultCliErrorRender' | |
] | |
], | |
'exceptionRenderFct' => [ | |
'enabled' => false, | |
'default' => [ | |
'class' => '\BFW\Core\ErrorsDisplay', | |
'method' => 'defaultErrorRender' | |
], | |
'cli' => [ | |
'class' => '\BFW\Core\ErrorsDisplay', | |
'method' => 'defaultCliErrorRender' | |
] | |
] | |
]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Global config file | |
* | |
* @author bulton-fr <[email protected]> | |
* @version 3.0.0 | |
* @package bfw | |
*/ | |
return [ | |
'debug' => false, | |
'sqlSecureMethod' => null | |
]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Config file for memcache(d) system | |
* | |
* @author bulton-fr <[email protected]> | |
* @version 3.0.0 | |
* @package bfw | |
*/ | |
return [ | |
'memcached' => [ | |
'enabled' => false, | |
'persistentId' => null, | |
'servers' => [ | |
[ | |
'host' => '', | |
'port' => 0, | |
'weight' => 0 | |
] | |
] | |
] | |
]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Config file for modules to use | |
* | |
* @author bulton-fr <[email protected]> | |
* @version 3.0.0 | |
* @package bfw | |
*/ | |
return [ | |
'modules' => [ | |
'db' => [ | |
'name' => '', | |
'enabled' => false | |
], | |
'controller' => [ | |
'name' => '', | |
'enabled' => false | |
], | |
'router' => [ | |
'name' => '', | |
'enabled' => false | |
], | |
'template' => [ | |
'name' => '', | |
'enabled' => false | |
] | |
] | |
]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Config file for monolog | |
* | |
* @author bulton-fr <[email protected]> | |
* @version 3.0.0 | |
* @package bfw | |
*/ | |
use Monolog\Logger; | |
return [ | |
'handlers' => [ | |
[ | |
'name' => '\Monolog\Handler\TestHandler', | |
'args' => [] | |
] | |
] | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment