Added wml override.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@360 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
bc98a3a5e8
commit
572295f462
|
@ -32,7 +32,7 @@ if ( !isset($PHP_SELF) )
|
|||
$accepts_wml = preg_match( '/text\/vnd.wap.wml/i', $HTTP_SERVER_VARS[HTTP_ACCEPT] );
|
||||
$accepts_html = preg_match( '/text\/html/i', $HTTP_SERVER_VARS[HTTP_ACCEPT] );
|
||||
|
||||
if ( $accepts_wml && !$accepts_html )
|
||||
if ( isset($wml) || ($accepts_wml && !$accepts_html) )
|
||||
{
|
||||
require_once( 'zmwml.php' );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue