2013060900-1.8.15-site_secret-404fc165cf9e0ac9.php 352 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * Elgg 1.8.15 upgrade 2013060900
  4. * site_secret
  5. *
  6. * Description
  7. */
  8. $strength = _elgg_get_site_secret_strength();
  9. if ($strength !== 'strong') {
  10. // a new key is needed immediately
  11. register_translations(elgg_get_root_path() . 'languages/');
  12. elgg_add_admin_notice('weak_site_key', elgg_echo("upgrade:site_secret_warning:$strength"));
  13. }