Ticket #861 (closed defect: fixed)
Hardcoded paths in 1.1.6.6
| Reported by: | DarTar | Owned by: | BrianKoontz |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2 |
| Component: | general | Version: | 1.1.6.6 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by BrianKoontz) (diff)
(reported by haknet on #wikka)
- libs/Wakka.class.php line 334 hardcoded path
actions/usersettings.php line 126 hardcode pathpath is validhandlers/page/show.php line 38 hardcode pathobsolete in 1.2in handlers/page/addcomment.php on line 3 should be "include_once('./libs/..." not "include_once('libs/..."path is valid
Referencing paths via the top-level directory is not "hardcoding" a path. Since all calls to Wikka originate from the wikka.php script, the directory of this script is always considered the "base" directory for all requires and includes. I would suggest the reporter might have a few configuration issues with his/her Wikka environment.
There is also a bug in Lighttpd rewrite documentation: http://docs.wikkawiki.org/LighttpdConfig In Page History when I click the Revision [x] link I get: This page doesn't exist yet. Maybe you want to create it? When rewrite is disabled it works fine.
This really makes no sense. How can the documentation have a "bug"? Is the reporter referring to the docs.wikkawiki.org server, or his/her own server? I don't see how this could refer to the docs server, given the statement "when rewrite is enabled."
Note: this page was contributed by a user and should be reviewed before being included in the official docs!