summaryrefslogblamecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/hooks/main-warning.inc.php
blob: a2eba6ff5227ea9ee05a4a03272585045153bbae (plain) (tree)
1
2
3
4
5
6





                                                                                     
<?php

if (!preg_match('/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/', Property::getServerIp())) {
	Message::addError('serversetup.no-ip-addr-set', true);
	$needSetup = true;
}