Reload config after update.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@611 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
6af6bad961
commit
548e80129b
|
@ -403,6 +403,7 @@ if ( $action )
|
|||
break;
|
||||
}
|
||||
}
|
||||
loadConfig();
|
||||
}
|
||||
elseif ( $action == "user" && isset( $uid ) )
|
||||
{
|
||||
|
|
|
@ -99,6 +99,9 @@ function loadConfig()
|
|||
global $config;
|
||||
global $config_cats;
|
||||
|
||||
$config = array();
|
||||
$config_cat = array();
|
||||
|
||||
$sql = "select * from Config";
|
||||
$result = mysql_query( $sql );
|
||||
if ( !$result )
|
||||
|
|
Loading…
Reference in New Issue