diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2004-03-06 18:10:32 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2004-03-06 18:10:32 +0000 |
commit | f60d104c09b441cbc663c821915c48075333fe19 (patch) | |
tree | 91ad637222e929247d018071a340a02462a5e76d | |
parent | a8b6b2102b2ba20f56e8c26a83c490ebce21fe43 (diff) | |
download | php-git-f60d104c09b441cbc663c821915c48075333fe19.tar.gz |
Better extension availability check.
-rw-r--r-- | ext/sqlite/sqlite.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/sqlite/sqlite.php b/ext/sqlite/sqlite.php index d1fefb4503..527504b72b 100644 --- a/ext/sqlite/sqlite.php +++ b/ext/sqlite/sqlite.php @@ -1,6 +1,9 @@ <?php if (!extension_loaded("sqlite")) { dl("sqlite.so"); + if (!extension_loaded("sqlite")) { + exit("Please enable SQLite support\n"); + } } debug_zval_dump(sqlite_libversion()); |