pfs hook::pfs.upload.moved
ez |
|
---|---|
Hi there,
I have made a plugin called "Image upload downsizer". What happes is this: When you upload two large images, the first one gets downsized, but the second one doesn't. I traced this mistake back to pfs.inc.php... I think the hook is not called properly !! /* === Hook === */
$extp = sed_getextplugins('pfs.upload.moved');
if (is_array($extp))
{ foreach($extp as $k => $pl) { include_once ($cfg['plugins_dir'].'/'.$pl['pl_code'].'/'.$pl['pl_file'].'.php'); } }
/* ===== */
The reason why I say this is that i have made the following statement in my plugin code : $disp_errors.="Start :: "; And only in the results off the FIRST uploaded file this text is shown, all other files this text is missing... ![]() So That's why I think this hook is not good ????? (or the code only gets executed on the first file) I am Using version 0.65 ==- I say: Keep it EZ -==
|