Skip to content

Commit 7a42b20

Browse files
committed
Redecorate urls
1 parent 6f12568 commit 7a42b20

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@
117117
<?php
118118
$urls = file($resultsDir . '/urls.log');
119119
foreach ($urls as $url) {
120-
$url_array = explode('/', $url);
120+
$urlArray = explode('/', $url);
121121
// to make it shorter
122-
$url_array = array_slice($url_array, 4);
123-
echo "<li><a href=\"$url\">.../" . implode('/', $url_array) . "</a></li>";
122+
$urlArray_ = array_slice($urlArray, 5);
123+
echo "<li><B>" . $urlArray[4] . ": </B><a href=\"$url\">/" . implode('/', $urlArray_) . "</a></li>";
124124
}
125125
?>
126126
</ul>

0 commit comments

Comments
 (0)