Added wml override.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@360 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2003-01-18 15:23:14 +00:00
parent bc98a3a5e8
commit 572295f462
1 changed files with 1 additions and 1 deletions

View File

@ -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' );
}