Project "FreeSWITCH user-contributed scripts, etc" received a push.

branch: master updated

       via: c2e63f1d8fc269cf17bd85d534c9099af8a454b6 (commit)
      from: ee436d35144c7d85629d2c7356db64d5f392d1ff (commit)


= COMMIT LOG ===========================================================
committer: Mathieu Parent
comments: 
MediaBrotha: add ability to force Cisco-XML mode

diff --git a/sathieu/cisco-xml/lib/Cisco-XML/Cisco-XML.php b/sathieu/cisco-xml/lib/Cisco-XML/Cisco-XML.php
index 0da1cc3..82226f4 100644
--- a/sathieu/cisco-xml/lib/Cisco-XML/Cisco-XML.php
+++ b/sathieu/cisco-xml/lib/Cisco-XML/Cisco-XML.php
@@ -26,7 +26,7 @@ This file is part of XML services for Cisco IP Phones.
 class CiscoIPPhone {
 	static public function userAgentIsCiscoIPPhone() {
 		if (isset($_SERVER['HTTP_USER_AGENT'])) {
-			return preg_match('/^Allegro-Software-WebClient\//', $_SERVER['HTTP_USER_AGENT']);
+			return preg_match('/^Allegro-Software-WebClient\//', $_SERVER['HTTP_USER_AGENT']) || isset($_GET['forceciscoxml']);
 		}
 
 	}
========================================================================

Summary of changes:
 sathieu/cisco-xml/lib/Cisco-XML/Cisco-XML.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email
For more info, see http://blog.chomperstomp.com/?p=630 --
FreeSWITCH user-contributed scripts, etc