projects
/
mdref
/
mdref
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
abe6051
)
just compare paths
author
Michael Wallner
<mike@php.net>
Wed, 18 Dec 2013 13:38:25 +0000
(14:38 +0100)
committer
Michael Wallner
<mike@php.net>
Wed, 18 Dec 2013 13:38:25 +0000
(14:38 +0100)
mdref/Action.php
patch
|
blob
|
history
diff --git
a/mdref/Action.php
b/mdref/Action.php
index 462e35b56e0e4810cbee75aa1e6ddeb382abe990..18f60691b21b0d96a1176f43ac760509355b4c70 100644
(file)
--- a/
mdref/Action.php
+++ b/
mdref/Action.php
@@
-32,7
+32,7
@@
class Action extends Observer
$path = $finder->find($url, "");
if ($path->isFile("")) {
$payload->html = $path->toHtml();
- } else if (strcmp($url
, $this->baseUrl
)) {
+ } else if (strcmp($url
->path, $this->baseUrl->path
)) {
throw new \http\Controller\Exception(404, "Could not find '$path'");
}
}