Файл: EasyHost v2.0/system/htdocs/manager/files/file/init.pl
Строк: 10
<?php
$system->error('You didn't select any files') if (!$system->param('file'));
foreach ($system->param('file'))
{
$system->error('The file you selected contains invalid characters') if ($_ =~ /[\/]+|^.+$/);
}
my $files = EasyHost::UserSearchFile->prepare($login->user,map { (-d $login->directory->real->path.$_) ? $login->directory->path.$_.'/' : $login->directory->path.$_ } $system->param('file'));
my $file = $files->fetch;
$files->execute;
?>