phpGroupWare - Patches: patch #5437, Wiki requires '.' in php include
You are not allowed to post comments on this tracker with your current authentication level.
patch #5437: Wiki requires '.' in php include
Submitter: | Steve Price <steep> | ||
Submitted: | Mon 02 Oct 2006 09:28:45 AM UTC | ||
Votes: | 100 | ||
Category: | None | Priority: | 3 - Low |
Item Group: | SVN trunk (dev code) | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open |
Mon 14 Jan 2008 06:46:50 PM UTC, comment #2: |
Florian Staudacher <raven24> |
Mon 14 Jan 2008 05:41:49 PM UTC, comment #1: This patch fixes the include-problem. But now there is this error message:
|
Florian Staudacher <raven24> |
Mon 02 Oct 2006 09:28:45 AM UTC, original submission:
Target Branch: HEAD
|
Steve Price <steep> |
Attached Files
file #10881: wiki.diff added by steep (499B - application/octet-stream - run 'patch -p1 < wiki.diff' under phpgroupware dir)
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 100 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
The error disappears if I modify the function set_root() in /phpgroupware/phpgwapi/class.Template.inc.php to look like this:
function set_root($root)
{
if (!is_dir($root))
//{
// $this->halt("set_root: $root is not a directory.");
// return false;
//}
$this->root = $root;
return true;
}
(basically just commented out the check... but it works)
Now the wiki is displayed correctly and works as far as I have tested it.