mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
no need to skip this test if no dictionaries are installed
This commit is contained in:
@@ -6,7 +6,6 @@ marcosptf - <marcosptf@yahoo.com.br>
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
if(!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
if(!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, dont has dictionary install in this machine! \n");}
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user