summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-01-01 15:43:20 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2017-01-01 15:43:20 +0100
commit5e850171e2f323e0ac13df5f8e1c1d5046959a52 (patch)
treee1f29f08a01b503b76832dd7c626f4eb0ddaab68 /includes
parentb8ebd23f6df8317a2b091335640ddd89de8cc55b (diff)
Fixed "Constant already defined" notice
Diffstat (limited to 'includes')
-rw-r--r--includes/engelsystem_provider.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/engelsystem_provider.php b/includes/engelsystem_provider.php
index 595af9f9..ef9cee15 100644
--- a/includes/engelsystem_provider.php
+++ b/includes/engelsystem_provider.php
@@ -68,6 +68,9 @@ if (file_exists(realpath(__DIR__ . '/../config/config.php'))) {
require_once realpath(__DIR__ . '/../config/config.php');
}
+defined('CRYPT_ALG') || define('CRYPT_ALG', '$6$rounds=5000'); // SHA-512
+defined('MIN_PASSWORD_LENGTH') || define('MIN_PASSWORD_LENGTH', 8);
+
if ($maintenance_mode) {
echo file_get_contents(__DIR__ . '/../public/maintenance.html');
die();