Commit a60df6232b132304575c43073961a05b40c7551f
1 parent
260dfbdf
StoryId 778896:Updated Bypass Mechanism
Committed by: Jarrett Jordaan Reviewed by: Megan Watson
Showing
2 changed files
with
6 additions
and
12 deletions
control.php
setup/wizard/index.php
| ... | ... | @@ -41,19 +41,13 @@ |
| 41 | 41 | */ |
| 42 | 42 | require_once("install_util.php"); |
| 43 | 43 | $ui = new InstallUtil(); |
| 44 | - $bypass = false; | |
| 45 | 44 | // Bypass |
| 46 | -// if(isset($_GET['bypass'])) { | |
| 47 | -// $bypass = $_GET['bypass']; | |
| 48 | -// $_SESSION['bypass'] = $bypass; | |
| 49 | -// } | |
| 50 | - | |
| 51 | -// if(isset($_SESSION['bypass'])) { | |
| 52 | -// | |
| 53 | -// $bypass = $_SESSION['bypass']; | |
| 54 | -// } | |
| 45 | + if(isset($_GET['bypass'])) { | |
| 46 | + if($_GET['bypass']) | |
| 47 | + touch("install"); | |
| 48 | + } | |
| 55 | 49 | |
| 56 | - if(!$ui->isSystemInstalled() || $bypass) { | |
| 50 | + if(!$ui->isSystemInstalled()) { | |
| 57 | 51 | require("installer.php"); |
| 58 | 52 | } else { |
| 59 | 53 | echo "System has been installed <a href='../../'>Goto Login</a>"; | ... | ... |