diff options
| author | Zeev Suraski <zeev@php.net> | 1999-08-13 21:03:27 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-08-13 21:03:27 +0000 |
| commit | 58e24ac18a06944791cebf606042e92128abc7b7 (patch) | |
| tree | b37103a4c8ec02a83bb0230211d68188ceadfcdb /ext/standard/dl.c | |
| parent | 5ae3f32b24b45512c96e89ff3162725ddef09cc8 (diff) | |
| download | php-git-58e24ac18a06944791cebf606042e92128abc7b7.tar.gz | |
- Add PHP Modules workspace
- Get the MySQL module to compile&work under thread-safe Win32
- Fix various thread safety issues with dynamic modules
Diffstat (limited to 'ext/standard/dl.c')
| -rw-r--r-- | ext/standard/dl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/standard/dl.c b/ext/standard/dl.c index 945650f5aa..6d3db207b0 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -87,7 +87,9 @@ void php3_dl(pval *file,int type,pval *return_value) php3_module_entry *(*get_module)(void); PLS_FETCH(); - if (cfg_get_string("extension_dir",&PG(extension_dir))==SUCCESS && PG(extension_dir)){ + if (cfg_get_string("extension_dir",&PG(extension_dir))==SUCCESS + && PG(extension_dir) + && PG(extension_dir)[0]){ int extension_dir_len = strlen(PG(extension_dir)); if (PG(extension_dir)[extension_dir_len-1]=='/' || PG(extension_dir)[extension_dir_len-1]=='\\') { |
