forked from steven-copley/nubuilder4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuconfig.php
52 lines (42 loc) · 1.55 KB
/
nuconfig.php
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
<?php
$nuConfigDBHost = "127.0.0.1";
$nuConfigDBName = "nubuilder4";
$nuConfigDBUser = "root";
$nuConfigDBPassword = "";
$nuConfigDBGlobeadminUsername = "globeadmin"; //-- globeadmin username
$nuConfigDBGlobeadminPassword = "nu"; //-- globeadmin password
$nuConfigTitle = "nuBuilder 4";
$nuConfigIsDemo = false;
$nuConfigTimeOut = 1440;
/*$nuWelcomeBodyInnerHTML = "
<div id='outer' style='width:100%'>
<div id='login' class='nuLogin'>
<table>
<tr>
<td align='center' style='padding:0px 0px 0px 33px; text-align:center;'>
<img src='graphics/logo.png'><br><br>
</td>
</tr>
<tr>
<td><div style='width:90px'>Username</div><input class='nuLoginInput' id='nuusername'/><br><br></td>
</tr>
<tr>
<td><div style='width:90px'>Password</div><input class='nuLoginInput' id='nupassword' type='password' onkeypress='nuSubmit(event)'/><br></td>
</tr>
<tr>
<td style='text-align:center' colspan='2'><br><br>
<input id='submit' type='button' class='nuButton' onclick='nuLoginRequest()' value='Log in'/>
</td>
</tr>
</table>
</div>
</div>
";
*/
if(array_key_exists('REQUEST_URI', $_SERVER)){
if(strpos($_SERVER['REQUEST_URI'], basename(__FILE__)) !== false){
header('HTTP/1.0 404 Not Found', true, 404);
die();
}
}
?>