Commit f1a31bd0 authored by Ad Schellevis's avatar Ad Schellevis
parent 809489f6
......@@ -40,6 +40,9 @@ require_once("guiconfig.inc");
$referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/services_wol.php');
if (!isset($config['wol']) || !is_array($config['wol'])) {
$config['wol'] = array();
}
if (!is_array($config['wol']['wolentry'])) {
$config['wol']['wolentry'] = array();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment