Files
doc-gtk/examples/tutorials/changes/extension_check.phpw

7 lines
144 B
Plaintext

<?php
if (!extension_loaded('php-gtk')) {
echo "The PHP-Gtk2 module is not available!\r\n";
exit(1);
}
//..continue with your program
?>