Fixes #333 where country update files system needs php-xml to be installed if its not functions are disabled to update and your told to install it.

这个提交包含在:
Peter Goodhall 2019-09-04 22:57:38 +01:00
父节点 dd789124a0
当前提交 ccc6cf1277

查看文件

@ -2,6 +2,14 @@
<h2><?php echo $page_title; ?></h2>
<?php if(!extension_loaded('xml')) { ?>
<div class="alert alert-danger" role="alert">
You must install php-xml for this to work.
</div>
<?php } else { ?>
<input type="submit" id="btn_update_dxcc" value="Update Dxcc" />
<div id="dxcc_update_status">
@ -18,5 +26,7 @@
}
</style>
<?php } ?>
</div>