defined is the better way... but also throws notice in error.log
This commit is contained in:
parent
cfa48e23b6
commit
c734f07c0e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue