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:
parent
471c78c544
commit
4f424f6eac
|
@ -169,6 +169,14 @@ if ( !$_SESSION['format'] )
|
||||||
setcookie( "cookies", $cookies );
|
setcookie( "cookies", $cookies );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
elseif ( $_REQUEST['format'] )
|
||||||
|
{
|
||||||
|
$_SESSION['format'] = $format;
|
||||||
|
if ( $cookies )
|
||||||
|
{
|
||||||
|
setcookie( "format", $format );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
require_once( "zm_$format.php" );
|
require_once( "zm_$format.php" );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue