defined is the better way... but also throws notice in error.log

This commit is contained in:
dg9vh 2016-05-25 15:13:34 +00:00
parent cfa48e23b6
commit c734f07c0e

View file

@ -55,7 +55,7 @@ function createConfigLines() {
}
function checkSetup() {
if (null == DISTRIBUTION) {
if (defined(DISTRIBUTION)) {
?>
<div class="alert alert-danger" role="alert">You are using an old config.php. Please configure your Dashboard by calling <a href="setup.php">setup.php</a>!</div>
<?php