if (isset($data['pass1']) && strlen($data['pass1']) > 0) {
# hash password for db storage
if (!function_exists('password_hash')) {
- require_once(DOCROOT . 'inc/password_funcs_backported.php');
+ require_once(__DIR__.'/'.'inc/password_funcs_backported.php');
}
$data['password'] = password_hash($data['pass1'], PASSWORD_DEFAULT);
}