Skip to content

Commit e126cb5

Browse files
committed
Detecting if soap library is not loaded, aborting with meaningful message.
1 parent 5a27927 commit e126cb5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/org/nameapi/client/services/BaseSoapClient.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
require_once('ServiceFactory.php');
66
require_once('Util.php');
77

8+
if (!extension_loaded('soap')) {
9+
exit("Error: missing php_soap library, enable it in php.ini!");
10+
}
811

912
/**
1013
*/

0 commit comments

Comments
 (0)