--
ResourceSpace: Open Source Digital Asset Management
http://www.resourcespace.org
---
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resourcespac...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
# -------FILES---------------
if (($filetype=="file") && (substr($file,0,1)!=".") && (strtolower($file)!="thumbs.db"))
{
$extension=strtolower($extension);
# Check to see if extension is banned, do not add if it is banned
if(array_search($extension, $banned_extensions)===false){ //cmay added this line and the appropriate closing bracket on down the page
# Already exists?
if (!isset($done[$shortpath]))
if(array_search($extension, $banned_extensions)){continue;}
if(array_search($extension, $banned_extensions) !== false){continue;}