diff options
Diffstat (limited to 'skipif.inc')
-rw-r--r-- | skipif.inc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/skipif.inc b/skipif.inc new file mode 100644 index 0000000..591e7f8 --- /dev/null +++ b/skipif.inc @@ -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"; + } +})(); + |