Show the billing warning only if its installed

This commit is contained in:
Mark Crane 2014-07-23 20:47:00 +00:00
parent b9eae299fd
commit a957b2303a
1 changed files with 4 additions and 1 deletions

View File

@ -807,7 +807,10 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo " </tr>";
echo "</table>";
echo "</div>";
echo "<p>".$text['billing-warning']."</p>" ;
if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/billing/app_config.php")){
echo "<p>".$text['billing-warning']."</p>";
}
//show the footer
require_once "resources/footer.php";
?>