From 572295f462dfb47380c82c0fbd8ec54e51f915b9 Mon Sep 17 00:00:00 2001 From: stan Date: Sat, 18 Jan 2003 15:23:14 +0000 Subject: [PATCH] Added wml override. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@360 e3e1d417-86f3-4887-817a-d78f3d33393f --- web/zm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/zm.php b/web/zm.php index 2e2a90fcb..d44a15caf 100644 --- a/web/zm.php +++ b/web/zm.php @@ -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' ); }