glob never returns NULL
This commit is contained in:
@@ -136,7 +136,7 @@ if (!empty($_GET['q'])) {
|
|||||||
</main>
|
</main>
|
||||||
<?php
|
<?php
|
||||||
$dirList = glob('*', GLOB_ONLYDIR);
|
$dirList = glob('*', GLOB_ONLYDIR);
|
||||||
if ($dirList != NULL) :
|
if (!empty($dirList)) :
|
||||||
?>
|
?>
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user