From 5e850171e2f323e0ac13df5f8e1c1d5046959a52 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sun, 1 Jan 2017 15:43:20 +0100 Subject: Fixed "Constant already defined" notice --- includes/engelsystem_provider.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'includes') 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(); -- cgit v1.2.3-54-g00ecf