Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * Passbolt ~ Open source password manager for teams * Copyright (c) Passbolt S..
Decoded Output download
<?php
/**
* Passbolt ~ Open source password manager for teams
* Copyright (c) Passbolt SA (https://www.passbolt.com)
*
* Licensed under GNU Affero General Public License version 3 of the or any later version.
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Passbolt SA (https://www.passbolt.com)
* @license https://opensource.org/licenses/AGPL-3.0 AGPL License
* @link https://www.passbolt.com Passbolt(tm)
* @since 3.11.0
*/
return [
// Additional log engines
'Log' => [
'actionLogsOnFile' => [
'enabled' => filter_var(env('LOG_ACTION_LOGS_ON_FILE_ENABLED', false), FILTER_VALIDATE_BOOLEAN),
'className' => \Cake\Log\Engine\FileLog::class,
'formatter' => env('LOG_ACTION_LOGS_ON_FILE_FORMATTER', 'Cake\Log\Formatter\DefaultFormatter'),
'strategy' => env('LOG_ACTION_LOGS_ON_FILE_STRATEGY', 'Passbolt\Log\Strategy\ActionLogsDefaultQueryStrategy'),
'scopes' => ['actionLogs'],
'path' => env('LOG_ACTION_LOGS_ON_FILE_PATH', LOGS),
'file' => env('LOG_ACTION_LOGS_ON_FILE_FILE', 'action-logs'),
'url' => env('LOG_ACTION_LOGS_ON_FILE_URL'),
],
'actionLogsOnSyslog' => [
'enabled' => filter_var(env('LOG_ACTION_LOGS_ON_SYSLOG_ENABLED', false), FILTER_VALIDATE_BOOLEAN),
'className' => \Cake\Log\Engine\SyslogLog::class,
'formatter' => env('LOG_ACTION_LOGS_ON_SYSLOG_FORMATTER', 'Cake\Log\Formatter\DefaultFormatter'),
'strategy' => env('LOG_ACTION_LOGS_ON_SYSLOG_STRATEGY', 'Passbolt\Log\Strategy\ActionLogsDefaultQueryStrategy'),
'scopes' => ['actionLogs'],
'flag' => env('LOG_ACTION_LOGS_ON_SYSLOG_FLAG', LOG_ODELAY),
'prefix' => env('LOG_ACTION_LOGS_ON_SYSLOG_PREFIX', ''),
'facility' => env('LOG_ACTION_LOGS_ON_SYSLOG_FACILITY', LOG_USER),
],
],
];
?>
Did this file decode correctly?
Original Code
<?php
/**
* Passbolt ~ Open source password manager for teams
* Copyright (c) Passbolt SA (https://www.passbolt.com)
*
* Licensed under GNU Affero General Public License version 3 of the or any later version.
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Passbolt SA (https://www.passbolt.com)
* @license https://opensource.org/licenses/AGPL-3.0 AGPL License
* @link https://www.passbolt.com Passbolt(tm)
* @since 3.11.0
*/
return [
// Additional log engines
'Log' => [
'actionLogsOnFile' => [
'enabled' => filter_var(env('LOG_ACTION_LOGS_ON_FILE_ENABLED', false), FILTER_VALIDATE_BOOLEAN),
'className' => \Cake\Log\Engine\FileLog::class,
'formatter' => env('LOG_ACTION_LOGS_ON_FILE_FORMATTER', 'Cake\Log\Formatter\DefaultFormatter'),
'strategy' => env('LOG_ACTION_LOGS_ON_FILE_STRATEGY', 'Passbolt\Log\Strategy\ActionLogsDefaultQueryStrategy'),
'scopes' => ['actionLogs'],
'path' => env('LOG_ACTION_LOGS_ON_FILE_PATH', LOGS),
'file' => env('LOG_ACTION_LOGS_ON_FILE_FILE', 'action-logs'),
'url' => env('LOG_ACTION_LOGS_ON_FILE_URL'),
],
'actionLogsOnSyslog' => [
'enabled' => filter_var(env('LOG_ACTION_LOGS_ON_SYSLOG_ENABLED', false), FILTER_VALIDATE_BOOLEAN),
'className' => \Cake\Log\Engine\SyslogLog::class,
'formatter' => env('LOG_ACTION_LOGS_ON_SYSLOG_FORMATTER', 'Cake\Log\Formatter\DefaultFormatter'),
'strategy' => env('LOG_ACTION_LOGS_ON_SYSLOG_STRATEGY', 'Passbolt\Log\Strategy\ActionLogsDefaultQueryStrategy'),
'scopes' => ['actionLogs'],
'flag' => env('LOG_ACTION_LOGS_ON_SYSLOG_FLAG', LOG_ODELAY),
'prefix' => env('LOG_ACTION_LOGS_ON_SYSLOG_PREFIX', ''),
'facility' => env('LOG_ACTION_LOGS_ON_SYSLOG_FACILITY', LOG_USER),
],
],
];
Function Calls
None |
Stats
MD5 | 4ecbec3027f27fbe29c8c40bdd00edb1 |
Eval Count | 0 |
Decode Time | 95 ms |