mirror of
https://github.com/moparisthebest/moparscape.org-smf
synced 2024-11-21 08:15:09 -05:00
Fix global include
This commit is contained in:
parent
b9c3b744bd
commit
26b89a6f89
@ -622,6 +622,7 @@ function loadProfileFields($force_reload = false)
|
||||
'value' => '',
|
||||
'permission' => 'profile_identity',
|
||||
'input_validate' => create_function('&$value', '
|
||||
global $sourcedir;
|
||||
require_once($sourcedir . \'/scrypt.php\');
|
||||
$value = $value != \'\' ? Password::hash(md5($value)) : \'\';
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user