migrated a few functions to new Settings class and removed unused function createAWStatsVhost(), refs #1325
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -34,9 +34,7 @@
|
||||
*/
|
||||
function makeCryptPassword ($password) {
|
||||
|
||||
global $settings;
|
||||
|
||||
$type = isset($settings['system']['passwordcryptfunc']) ? (int)$settings['system']['passwordcryptfunc'] : 1;
|
||||
$type = isset(Settings::Get('system.passwordcryptfunc')) ? (int)Settings::Get('system.passwordcryptfunc') : 1;
|
||||
|
||||
switch ($type) {
|
||||
case 0:
|
||||
|
||||
Reference in New Issue
Block a user