-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.php
More file actions
executable file
·64 lines (59 loc) · 2.15 KB
/
Copy pathsetup.php
File metadata and controls
executable file
·64 lines (59 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!-- GLOBAL LAYOUT MANAGER -->
<?php include('application.php'); ?>
<!-- HEADER -->
<?php echo get_content('components/header.php'); ?>
<?php if (isSet($isConfigured) && $isConfigured == 'true') {
?>
<html>
<meta http-equiv="refresh" content="0; url=/" />
</html>
<?php
}
?>
<div class="row">
<div class="small-12 columns">
<form action="installer.php" method="post">
<fieldset class="panel">
<center>
<h1>Initial Configuration</h1><br>
</center>
<hr>
<p>IMPORTANT: This installer will create a configuration file, "config.php" at the root directory of your installation.</p>
<hr>
<h5>MySQL Configuration</h5>
<label>
<input type="text" name="mysqlUsername" placeholder="MySQL Username">
</label>
<label>
<input type="password" name="mysqlPassword" placeholder="MySQL Password">
</label>
<label>
<input type="text" name="mysqlDB" placeholder="MySQL Database (Must be Empty)">
</label>
<label>
<input type="text" name="mysqlPort" placeholder="MySQL Port Number (Default: 3306)">
</label>
<h5>Forum Admin</h5>
<label>
<input type="text" name="adminUsername" placeholder="Admin Username">
</label>
<label>
<input type="text" name="adminEmail" placeholder="Admin Email">
</label>
<label>
<input type="password" name="adminPassword" placeholder="Admin Password">
</label>
<label>
<input type="password" name="adminPassword2" placeholder="Admin Password (Repeat)">
</label>
<h5>Global Variables</h5>
<label>
<input type="text" name="forumName" placeholder="Forum Name">
</label>
<center>
<input type="submit" class="button" value="Configure Forum">
</center>
</fieldset>
</form>
</div>
</div>