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:
stan 2006-05-30 15:36:16 +00:00
parent c4857d8dbf
commit 3a555ebd1c
1 changed files with 12 additions and 0 deletions

View File

@ -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" :