summaryrefslogtreecommitdiff
path: root/config/config.default.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-01-02 00:09:18 +0100
committerGitHub <noreply@github.com>2017-01-02 00:09:18 +0100
commit29128763fd7f4b1f300fbc7014b9e6608c5d21a4 (patch)
tree76e495fb3d926df14609c746e08f69fee7134ed8 /config/config.default.php
parenta8ab9ccce10fb476dc480de40a49b513f5d505de (diff)
parent1f8d1eb4bbe9a764fa69a2da936db7adbfb2941e (diff)
Merge pull request #306 from MyIgel/config-fix-constant
Fixes "Constant already defined" notice
Diffstat (limited to 'config/config.default.php')
-rw-r--r--config/config.default.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/config/config.default.php b/config/config.default.php
index 64c43cfa..0b268c12 100644
--- a/config/config.default.php
+++ b/config/config.default.php
@@ -22,12 +22,12 @@ $LETZTES_AUSTRAGEN = 3;
// Falls ein Benutzerpasswort in einem anderen Format gespeichert ist,
// wird es bei der ersten Benutzung des Klartext-Passworts in das neue Format
// konvertiert.
-// define('CRYPT_ALG', '$1'); // MD5
-// define('CRYPT_ALG', '$2y$13'); // Blowfish
-// define('CRYPT_ALG', '$5$rounds=5000'); // SHA-256
-define('CRYPT_ALG', '$6$rounds=5000'); // SHA-512
+// $crypt_alg = '$1'; // MD5
+// $crypt_alg = '$2y$13'; // Blowfish
+// $crypt_alg = '$5$rounds=5000'; // SHA-256
+$crypt_alg = '$6$rounds=5000'; // SHA-512
-define('MIN_PASSWORD_LENGTH', 8);
+$min_password_length = 8;
// Wenn Engel beim Registrieren oder in ihrem Profil eine T-Shirt Größe angeben sollen, auf true setzen:
$enable_tshirt_size = true;
@@ -64,6 +64,6 @@ $config = [
'host' => "localhost",
'user' => "root",
'pw' => "",
- 'db' => "engelsystem"
+ 'db' => "engelsystem"
];
?>