projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
284fad8
)
MTrackWeb/File.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 10 Mar 2011 08:45:04 +0000
(16:45 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 10 Mar 2011 08:45:04 +0000
(16:45 +0800)
MTrackWeb/File.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/File.php
b/MTrackWeb/File.php
index
1c77d4b
..
478bfe4
100644
(file)
--- a/
MTrackWeb/File.php
+++ b/
MTrackWeb/File.php
@@
-93,7
+93,8
@@
class MTrackWeb_File extends MTrackWeb
$this->crumbs = array();
$this->basename = array_pop($crumbs);
$location = '';
- array_unshift($crumbs, '');
+ $crumbs = explode('/', $file);
+ array_unshift($crumbs, ''); // add empty at front..
foreach($crumbs as $path)
{
if (count($this->crumbs) && !strlen($path)) {