diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-11-15 21:48:49 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-11-15 22:23:07 +0300 |
commit | 509206cd23af2e5c54229664a1fe7911ae437775 (patch) | |
tree | 82877e6ede904593ac19eb166caa730325809e70 /ncp-web | |
parent | cd2e94714426e6109ed8400ef7380d106af684a3 (diff) |
ncp-web: only show wizard button if it exists, delete from dockerv0.34.11
Diffstat (limited to 'ncp-web')
-rw-r--r-- | ncp-web/index.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ncp-web/index.php b/ncp-web/index.php index b3263ee7..238b73d3 100644 --- a/ncp-web/index.php +++ b/ncp-web/index.php @@ -57,7 +57,7 @@ </div> <?php - if ( !file_exists( 'wizard.cfg' ) ) + if ( file_exists( 'wizard') && !file_exists( 'wizard.cfg' ) ) { echo <<<HTML <div id="first-run-wizard"> @@ -92,11 +92,16 @@ HTML; </a> </div> <div id="header-right"> +<?php + if ( file_exists( 'wizard' ) ) + echo <<<HTML <div class="wizard-btn"> <div id="expand"> <div class="icon-wizard-white"></div> </div> </div> +HTML; +?> <div id="poweroff"> <div id="expand"> <div class="icon-power-white"></div> |