fixed changed log constants in examples

git-svn-id: svn://netflint.net/xmpphp@33 ef36c318-a008-4979-b6e8-6b496270793b
This commit is contained in:
temp 2008-05-05 18:35:48 +00:00
parent 521d21d414
commit 6383d9b980

View File

@ -5,7 +5,7 @@ error_reporting(E_ALL & E_STRICT);
include("XMPPHP/XMPP.php"); 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->connect();
$conn->processUntil('session_start'); $conn->processUntil('session_start');
$conn->presence(); $conn->presence();