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:
stan 2003-07-07 13:26:50 +00:00
parent 6af6bad961
commit 548e80129b
2 changed files with 4 additions and 0 deletions

View File

@ -403,6 +403,7 @@ if ( $action )
break;
}
}
loadConfig();
}
elseif ( $action == "user" && isset( $uid ) )
{

View File

@ -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 )