mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00

- add james-heinrich/getid3 library as a dependency to composer.json - update DEPENDENCIES.md file - fix episodes table migration script - add js devDependencies: prettier, @prettier/plugin-php and lint-staged to automatically format staged files before commit - reformat all files to the prettier format - refactor code by separating some logic as helper functions - overwrite existing files when uploading new files with the same name fixes #1
36 lines
1.0 KiB
PHP
36 lines
1.0 KiB
PHP
<?php
|
|
namespace Config;
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
|
|
/**
|
|
* Encryption configuration.
|
|
*
|
|
* These are the settings used for encryption, if you don't pass a parameter
|
|
* array to the encrypter for creation/initialization.
|
|
*/
|
|
class Encryption extends BaseConfig
|
|
{
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Encryption Key Starter
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| If you use the Encryption class you must set an encryption key (seed).
|
|
| You need to ensure it is long enough for the cipher and mode you plan to use.
|
|
| See the user guide for more info.
|
|
*/
|
|
|
|
public $key = '';
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Encryption driver to use
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| One of the supported drivers, eg 'OpenSSL' or 'Sodium'.
|
|
| The default driver, if you don't specify one, is 'OpenSSL'.
|
|
*/
|
|
public $driver = 'OpenSSL';
|
|
}
|