diff options
author | Steve Clay <steve@mrclay.org> | 2013-06-10 23:16:45 -0400 |
---|---|---|
committer | Paweł Sroka <srokap@gmail.com> | 2013-11-04 04:24:47 +0100 |
commit | e98f933857548be9cd078416a93011ea9c2f3e3a (patch) | |
tree | 1ac16234f014062cd881b3a5c2cab74dc78aba00 /engine/lib/upgrades | |
parent | 550ef1fe32fc8da940c42359f7a6347e65138c85 (diff) | |
download | elgg-e98f933857548be9cd078416a93011ea9c2f3e3a.tar.gz elgg-e98f933857548be9cd078416a93011ea9c2f3e3a.tar.bz2 |
Allow regenerating site secret
Diffstat (limited to 'engine/lib/upgrades')
-rw-r--r-- | engine/lib/upgrades/2013060900-1.8.15-site_secret-404fc165cf9e0ac9.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2013060900-1.8.15-site_secret-404fc165cf9e0ac9.php b/engine/lib/upgrades/2013060900-1.8.15-site_secret-404fc165cf9e0ac9.php new file mode 100644 index 000000000..b5b614762 --- /dev/null +++ b/engine/lib/upgrades/2013060900-1.8.15-site_secret-404fc165cf9e0ac9.php @@ -0,0 +1,13 @@ +<?php +/** + * Elgg 1.8.15 upgrade 2013060900 + * site_secret + * + * Description + */ + +$strength = _elgg_get_site_secret_strength(); + +if ($strength !== 'strong') { + elgg_add_admin_notice('weak_site_key', elgg_echo("upgrade:site_secret_warning:$strength")); +} |