From: Yves K. <yku...@us...> - 2004-11-19 20:13:06
|
Update of /cvsroot/phpwebsite-comm/modules/xwysiwyg/mod/xwysiwyg/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22432/modules/xwysiwyg/mod/xwysiwyg/class Modified Files: xwysiwyg.php Log Message: path fix Index: xwysiwyg.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/xwysiwyg/mod/xwysiwyg/class/xwysiwyg.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** xwysiwyg.php 10 Nov 2004 00:24:52 -0000 1.12 --- xwysiwyg.php 19 Nov 2004 20:12:06 -0000 1.13 *************** *** 20,24 **** $temp = explode("::", $browser); if (preg_match("/".$temp[0]."/", $_SERVER["HTTP_USER_AGENT"]) && file_exists($_SESSION['OBJ_layout']->theme_dir.trim($temp[1]))) { ! $css = "/".$_SESSION['OBJ_layout']->theme_address . trim($temp[1]); $browser_css = 1; break; --- 20,24 ---- $temp = explode("::", $browser); if (preg_match("/".$temp[0]."/", $_SERVER["HTTP_USER_AGENT"]) && file_exists($_SESSION['OBJ_layout']->theme_dir.trim($temp[1]))) { ! $css = $_SESSION['OBJ_layout']->theme_address . trim($temp[1]); $browser_css = 1; break; *************** *** 27,31 **** } if (!isset($browser_css) && file_exists($_SESSION['OBJ_layout']->theme_dir."style.css")) ! $css = "/".$_SESSION['OBJ_layout']->theme_address . "style.css"; return "http://".PHPWS_SOURCE_HTTP.$css; } --- 27,31 ---- } if (!isset($browser_css) && file_exists($_SESSION['OBJ_layout']->theme_dir."style.css")) ! $css = $_SESSION['OBJ_layout']->theme_address . "style.css"; return "http://".PHPWS_SOURCE_HTTP.$css; } |