Added misssing default user.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2000 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
c4857d8dbf
commit
3a555ebd1c
|
@ -80,6 +80,18 @@ define( "STRF_FMT_DATETIME_SHORTER", "%m/%d %H:%M:%S" ); // Strftime shorter for
|
||||||
require_once( 'zm_db.php' );
|
require_once( 'zm_db.php' );
|
||||||
loadConfig();
|
loadConfig();
|
||||||
|
|
||||||
|
$default_user = array(
|
||||||
|
"Username"=>"admin",
|
||||||
|
"Password"=>"",
|
||||||
|
"Language"=>"",
|
||||||
|
"Enabled"=>1,
|
||||||
|
"Stream"=>'View',
|
||||||
|
"Events"=>'Edit',
|
||||||
|
"Control"=>'Edit',
|
||||||
|
"Monitors"=>'Edit',
|
||||||
|
"System"=>'Edit',
|
||||||
|
);
|
||||||
|
|
||||||
switch ( $bandwidth )
|
switch ( $bandwidth )
|
||||||
{
|
{
|
||||||
case "high" :
|
case "high" :
|
||||||
|
|
Loading…
Reference in New Issue