refactor: remove hardcoded credentials from config

- Strip configuration.local.php to logger-only defaults
- Remove db, solr, session, checkfile_url, worker IDs (unused legacy)
- Clean credential comments from logger config files
- Add .env.example template
- Add .env to .gitignore
This commit is contained in:
Guillermo Pages
2026-01-14 14:15:02 +01:00
parent 7e79eca195
commit b6f048d81c
6 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<?php
use Bsr\Utils\Logger\Logger;
/**
* Default configuration for php-bsrutils library.
* Contains only logger defaults needed for the Logger class.
* Application-specific config should be in the consuming application's config files.
*/
return array(
'log' => array(
'file' => realpath(dirname(__FILE__) . '/..') . '/log/log.txt',
'format' => '%ip% - [%date%] - %status% %error% - %time% - %func%',
'verbosity' => Logger::NORMAL,
),
);