diff --git a/system/compat/config.php b/system/compat/config.php index ef329afa..f293b852 100644 --- a/system/compat/config.php +++ b/system/compat/config.php @@ -15,6 +15,7 @@ $deprecatedConfig = [ 'meta_description', 'meta_keywords', 'footer', + 'database_encryption' => 'database_hash', //'language', 'visitors_counter', 'visitors_counter_ttl', diff --git a/system/settings.php b/system/settings.php index 1e7cb51e..762329d8 100644 --- a/system/settings.php +++ b/system/settings.php @@ -324,6 +324,16 @@ return [ ], 'is_config' => true, ], + 'database_hash' => [ + 'name' => 'Database Hashing Algorithm', + 'desc' => 'Hashing algorithm: sha1 or md5 are most common', + 'type' => 'text', + 'default' => 'sha1', + 'show_if' => [ + 'database_overwrite', '=', 'true' + ], + 'is_config' => true, + ], 'database_log' => [ 'name' => 'Database Log', 'desc' => 'Should database queries be logged and saved into system/logs/database.log?',