[Phpfreechat-svn] SF.net SVN: phpfreechat: [730] trunk/src/phpfreechat.class.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-09-03 16:22:40
|
Revision: 730 http://svn.sourceforge.net/phpfreechat/?rev=730&view=rev Author: kerphi Date: 2006-09-03 09:22:24 -0700 (Sun, 03 Sep 2006) Log Message: ----------- Bug fix: the xajax server url script was not correctly calculated Modified Paths: -------------- trunk/src/phpfreechat.class.php Modified: trunk/src/phpfreechat.class.php =================================================================== --- trunk/src/phpfreechat.class.php 2006-09-03 13:34:14 UTC (rev 729) +++ trunk/src/phpfreechat.class.php 2006-09-03 16:22:24 UTC (rev 730) @@ -63,7 +63,7 @@ if (!class_exists("xajax")) if (file_exists($c->xajaxpath."/xajax.inc.php")) { - require_once $c->xajaxpath."/xajax.inc.php"; + require_once $c->xajaxpath."/xajax.inc.php"; $this->xajax = new xajax($c->server_script_url.(isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "" ? "?".$_SERVER["QUERY_STRING"] : ""), $c->prefix); if ($c->debugxajax) $this->xajax->debugOn(); $this->xajax->waitCursorOff(); // do not show a wait cursor during chat updates @@ -88,7 +88,7 @@ $u =& pfcUserConfig::Instance(); $output .= '<script type="text/javascript"> -var xajaxRequestUri="'.$c->server_script_url.'"; +var xajaxRequestUri="'.$c->server_script_url.(isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "" ? "?".$_SERVER["QUERY_STRING"] : "").'"; var xajaxDebug=false; var xajaxStatusMessages=false; var xajaxWaitCursor=false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |