Compare commits
2 Commits
ab01cb5ac8
...
4a3061fccd
Author | SHA1 | Date |
---|---|---|
quenousimporte | 4a3061fccd | |
quenousimporte | cc1f09be6b |
|
@ -156,7 +156,7 @@
|
|||
|
||||
echo '<div>';
|
||||
|
||||
if (!isset($_SESSION['index']) || isset($_GET['reindex']))
|
||||
if (!isset($_SESSION['index']) || isset($_GET['reindex']) || empty($_SESSION['index']))
|
||||
{
|
||||
$files = glob($dir . '/*');
|
||||
usort($files, function($a, $b)
|
||||
|
|
6
note.php
6
note.php
|
@ -10,9 +10,9 @@
|
|||
if (isset($_POST['stats']))
|
||||
{
|
||||
echo '<div>
|
||||
<span class="grey">' . $lines . ' lines</span>
|
||||
<span class="grey">'. $words . ' words</span>
|
||||
<span class="grey">' . $chars . ' chars</span>
|
||||
<span class="grey">lines:' . $lines . '</span>
|
||||
<span class="grey">words:'. $words . '</span>
|
||||
<span class="grey">chars:' . $chars . '</span>
|
||||
</div>';
|
||||
}
|
||||
else if (isset($_POST['links']))
|
||||
|
|
Loading…
Reference in New Issue