mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
allow curly braces in upload glob
This commit is contained in:
parent
09e9f81545
commit
02705fd95a
@ -403,9 +403,9 @@ function do_upload()
|
||||
}
|
||||
|
||||
$archives = config_translate('upload');
|
||||
echo "Uploading $archives\n";
|
||||
echo "Uploading $archives to $config[upload_url]\n";
|
||||
|
||||
foreach(glob($archives) as $path)
|
||||
foreach(glob($archives, GLOB_BRACE) as $path)
|
||||
{
|
||||
$label = null;
|
||||
if (substr($path, -4) == '.zip')
|
||||
|
Loading…
Reference in New Issue
Block a user