Update index.php

pull/8/head
SuperDev 3 years ago committed by GitHub
parent 368c729a08
commit 5f36453bf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,7 +13,7 @@ error_reporting(E_ALL);
$directory = "../.$file_url_destination./files/"; // dir location $directory = "../.$file_url_destination./files/"; // dir location
if (glob($directory . "*.*") != false) if (glob($directory . "*.*") != false)
{ {
$filecount = count(glob($directory. "*.*")); $filecount = count(glob($directory. "*.*" && $file != "index.php"));
} }
// file size of upload dir // file size of upload dir

Loading…
Cancel
Save