summaryrefslogtreecommitdiffstats
path: root/modules-available/webinterface/hooks/main-warning.inc.php
blob: 88abc00222b7eb94b6cf9e04cc98515398a158dd (plain) (blame)
1
2
3
4
5
6
7
8
<?php

if (Property::get(WebInterface::PROP_TYPE) === 'acme') {
	$err = Acme::getLastError();
	if (!empty($err)) {
		Message::addError('webinterface.mw-acme-errors', true);
	}
}