Skip to content

Commit 095fd3b

Browse files
committed
cannot use AMQP classes without extentions
1 parent cf52337 commit 095fd3b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/main/Utils/AMQP/AMQPPeclTest.class.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ public function __construct()
125125
{
126126
parent::__construct();
127127

128+
if (!extension_loaded('amqp'))
129+
return;
130+
128131
if (!AMQPPool::me()->getList()) {
129132
AMQPPool::me()->
130133
setDefault(

0 commit comments

Comments
 (0)