mirror of https://github.com/tildeclub/site.git
Originally used the wrong sort
This commit is contained in:
parent
ea181def2f
commit
c4d4ce41ee
|
@ -14,7 +14,7 @@ include __DIR__."/../header.php";
|
|||
$title = preg_match("/title: (.*)/i", file_get_contents($file), $matches) ? $matches[1] : $article;
|
||||
$article_to_title[$article] = $title;
|
||||
}
|
||||
sort($article_to_title);
|
||||
asort($article_to_title);
|
||||
?>
|
||||
<?php foreach ($article_to_title as $article => $title) { ?>
|
||||
<li><a href="/wiki/<?=$article?>.html"><?=$title?></a></li>
|
||||
|
|
Loading…
Reference in New Issue