Open llelundberg opened 3 years ago
Nice script!
I found a small problem with folder names containting dots, the script treats them as files.
I changed line 177 from: if( !$file_ext AND is_dir($file)) $file_ext = "dir"; to if( is_dir($file)) $file_ext = "dir";
if( !$file_ext AND is_dir($file)) $file_ext = "dir";
if( is_dir($file)) $file_ext = "dir";
The $file_ext check is redundant anyway.
Nice script!
I found a small problem with folder names containting dots, the script treats them as files.
I changed line 177 from:
if( !$file_ext AND is_dir($file)) $file_ext = "dir";
toif( is_dir($file)) $file_ext = "dir";
The $file_ext check is redundant anyway.