初始化PHP-Xlswrite扩展
This commit is contained in:
21
tests/include/skipif.inc
Normal file
21
tests/include/skipif.inc
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Skip Disable Reader
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @author viest
|
||||
*/
|
||||
function skip_disable_reader() {
|
||||
if (!method_exists('\Vtiful\Kernel\Excel', 'openFile')) {
|
||||
print "skip";
|
||||
}
|
||||
}
|
||||
|
||||
(function(){
|
||||
if (!extension_loaded("xlswriter")) {
|
||||
print "skip";
|
||||
}
|
||||
})();
|
||||
|
Reference in New Issue
Block a user