mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-27 17:09:37 +00:00
4fa1193948
- Added new constant ENCRYPTION_PASSWORDS to application/core/DB_Model.php - Added new protected properties passwordName and encryptedColumns to core/DB_Model - Added new private methods _isCryptoEnabledAndValid, _getCipher, _encrypt and _decrypt to core/DB_Model - core/DB_Model properties insert and update now are making use of _encrypt() - core/DB_Model properties loadWhere and loadTree now are making use of _decrypt()
25 lines
893 B
PHP
25 lines
893 B
PHP
<?php
|
|
|
|
/**
|
|
* Copyright (C) 2023 fhcomplete.org
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
// NOTE: if database encryption is _not_ used then leave this array empty!
|
|
$config['encryption_passwords'] = array();
|
|
|