getData(); if ($data['deleted'] == 't'){ if (($_SESSION['account_id'] == $data['setupaccountid']) || (account_services_check('admin'))) { // allow access => user is owner or admin $allowaccess = true; } else { $allowaccess = false; } } else { $allowaccess = true; } if ($data['isprivate']){ if (($_SESSION['account_id'] == $data['setupaccountid']) || (account_services_check('admin'))) { // allow access => user is owner or admin $allowaccess = true; } else { $allowaccess = false; } } if ($allowaccess) { // get width/height for tag $calculatedwidthheight = $file->getFileWidthHeight('low'); $fileurl = $file->getFileURL(1); if ($data['isprivate']){ $fileurl .= "?activesession=1"; } $theimage = sprintf( '%s', $fileurl, shorten($data["description"], 30, ' '), shorten($data["description"], 50, ' '), $calculatedwidthheight['width'], $calculatedwidthheight['height'] ); $triple_id = id2triplet($id); $description = $data["description"]; } ?> "file", "id" => $id)); ?> The file was deleted from the cache.
:
This does not work.