From 3a555ebd1c774c844bc3d246784141e8aedf9152 Mon Sep 17 00:00:00 2001 From: stan Date: Tue, 30 May 2006 15:36:16 +0000 Subject: [PATCH] Added misssing default user. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2000 e3e1d417-86f3-4887-817a-d78f3d33393f --- web/zm_config.php.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/web/zm_config.php.in b/web/zm_config.php.in index 8c1157895..105856a24 100644 --- a/web/zm_config.php.in +++ b/web/zm_config.php.in @@ -80,6 +80,18 @@ define( "STRF_FMT_DATETIME_SHORTER", "%m/%d %H:%M:%S" ); // Strftime shorter for require_once( 'zm_db.php' ); loadConfig(); +$default_user = array( + "Username"=>"admin", + "Password"=>"", + "Language"=>"", + "Enabled"=>1, + "Stream"=>'View', + "Events"=>'Edit', + "Control"=>'Edit', + "Monitors"=>'Edit', + "System"=>'Edit', +); + switch ( $bandwidth ) { case "high" :