Bug 360 - Made selection of markup language simpler

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2028 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2006-10-24 09:44:50 +00:00
parent 471c78c544
commit 4f424f6eac
1 changed files with 8 additions and 0 deletions

View File

@ -169,6 +169,14 @@ if ( !$_SESSION['format'] )
setcookie( "cookies", $cookies );
}
}
elseif ( $_REQUEST['format'] )
{
$_SESSION['format'] = $format;
if ( $cookies )
{
setcookie( "format", $format );
}
}
require_once( "zm_$format.php" );