Hello,
the patch 658353 and 656163 (same) should be applied to config.php.
The problem is that if the phpwiki is running in the root-dir with PHP 4.0.3
or higher, the dirname is returning an slash for the root-dir (instead of an
empty string in the privious version).
The result is that DATA_PATH is set to '/'. But the DATA_PATH should not end
with an slash....
The result of this is that the CSS is not found by the browser because the
CSS-Path has two slashes at the beginning... this causes the IE6 to delay
the loading for each page up to 5 seconds... (and the CSS was not found).
Here is a small fix for this problem:
Index: config.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/config.php,v
retrieving revision 1.68
diff -r1.68 config.php
260c260,266
< if (!defined('DATA_PATH')) define('DATA_PATH', dirname(SCRIPT_NAME));
---
> if (!defined('DATA_PATH')) {
> $temp = dirname(SCRIPT_NAME);
> if ( ($temp == '/') || ($temp == '\\') )
> $temp = "";
> define('DATA_PATH', $temp);
> }
>
Greetings
Jochen
|