From 6383d9b980f076f34ae041964deced3c2e064228 Mon Sep 17 00:00:00 2001 From: temp Date: Mon, 5 May 2008 18:35:48 +0000 Subject: [PATCH] fixed changed log constants in examples git-svn-id: svn://netflint.net/xmpphp@33 ef36c318-a008-4979-b6e8-6b496270793b --- sendmessage_example.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sendmessage_example.php b/sendmessage_example.php index a599665..a1d84b4 100644 --- a/sendmessage_example.php +++ b/sendmessage_example.php @@ -5,7 +5,7 @@ error_reporting(E_ALL & E_STRICT); include("XMPPHP/XMPP.php"); -$conn = new XMPP('talk.google.com', 5222, 'username', 'password', 'xmpphp', 'gmail.com', $printlog=false, $loglevel=XMPPHP_Log::LEVEL_INFO); +$conn = new XMPPHP_XMPP('talk.google.com', 5222, 'username', 'password', 'xmpphp', 'gmail.com', $printlog=false, $loglevel=XMPPHP_Log::LEVEL_INFO); $conn->connect(); $conn->processUntil('session_start'); $conn->presence();