function check_server() { if (!check_writeable(MAD_PATH . '/conf/')) { return false; } if (!check_writeable(MAD_PATH . '/data/creative/')) { return false; } if (!check_xml()) { return false; } if (!check_mbstring()) { return false; } return true; }
<h3>Required: SimpleXML PHP Extension</h3> </div> <div class="widget-content"> <p>It seems that the SimpleXML Extension is not loaded in your PHP Installation. mAdserve requires SimpleXML, and you can find instructions on how to install it <a href="http://php.net/manual/en/book.simplexml.php" target="_blank">here.</a></p> </div> </div> <?php } ?> <?php if (!check_mbstring()) { ?> <div class="widget"> <div class="widget-header"> <span class="icon-x-alt"></span> <h3>Required: mbstring PHP Extension</h3> </div> <div class="widget-content"> <p>mAdserve requires the PHP mbstring extension to be installed for geo targeting. You can find instructions on how to install it <a href="http://php.net/manual/en/book.mbstring.php" target="_blank">here.</a></p> </div> </div>