diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-09-08 19:19:01 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-09-08 19:19:01 +0000 |
commit | 013b73e6ec851cea0e72312acce3abeb0cabd472 (patch) | |
tree | 69a5e724f11bebc6d588f5a56526b9ebec7e38fb /modules/user.module | |
parent | 451dbd17a6317bf51bf9a39f5df25263a65b408f (diff) | |
download | brdo-013b73e6ec851cea0e72312acce3abeb0cabd472.tar.gz brdo-013b73e6ec851cea0e72312acce3abeb0cabd472.tar.bz2 |
- Patch #30122 by m3verick: changed include_once()'s to include "./$file"
for performance's sake.
Diffstat (limited to 'modules/user.module')
-rw-r--r-- | modules/user.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user.module b/modules/user.module index 7d6efb7f0..fcfa6c924 100644 --- a/modules/user.module +++ b/modules/user.module @@ -370,7 +370,7 @@ function user_is_blocked($name) { */ function user_mail($mail, $subject, $message, $header) { if (variable_get('smtp_library', '') && file_exists(variable_get('smtp_library', ''))) { - include_once variable_get('smtp_library', ''); + include_once './' . variable_get('smtp_library', ''); return user_mail_wrapper($mail, $subject, $message, $header); } else { |