fix attempt when session is lost
This commit is contained in:
parent
cc1f09be6b
commit
4a3061fccd
|
@ -156,7 +156,7 @@
|
||||||
|
|
||||||
echo '<div>';
|
echo '<div>';
|
||||||
|
|
||||||
if (!isset($_SESSION['index']) || isset($_GET['reindex']))
|
if (!isset($_SESSION['index']) || isset($_GET['reindex']) || empty($_SESSION['index']))
|
||||||
{
|
{
|
||||||
$files = glob($dir . '/*');
|
$files = glob($dir . '/*');
|
||||||
usort($files, function($a, $b)
|
usort($files, function($a, $b)
|
||||||
|
|
Loading…
Reference in New Issue