Skip to content

Commit 91579ad

Browse files
committed
Add actionable suggestion to activation error, refs #11 (thanks @renepickhardt!)
1 parent 1fee6cb commit 91579ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

woocommerce-gateway-lightning.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
}
1616

1717
register_activation_hook( __FILE__, function(){
18-
if (!extension_loaded('gd') || !extension_loaded('curl')) {
19-
die('The php-curl and php-gd extensions are required.');
18+
if (!extension_loaded('gdx') || !extension_loaded('curl')) {
19+
die('The php-curl and php-gd extensions are required. Please contact your hosting provider for additional help.');
2020
}
2121
});
2222

0 commit comments

Comments
 (0)