Update index.php

This commit is contained in:
SuperDev
2022-12-21 09:39:27 -06:00
committed by GitHub
parent 3100bede59
commit 5b134059e1

View File

@@ -11,7 +11,7 @@ error_reporting(E_ALL);
?>
<?php
$directory = "../.$file_url_destination./files/"; // dir location
if (glob($directory . "*.*" . "index.php") != false)
if (glob($directory . "*.*" or "index.php") != false)
{
$filecount = count(glob($directory. "*.*"));