// depreciated - should use ontable:onid:type here...
if (!empty($_REQUEST['ontable'])) {
- print_r('test??');exit;
+
if (!$this->authUser) {
die("authentication required");
}
if (!$id || !$img->get($id)) {
$this->imgErr("image has been removed or deleted.",$s);
}
-
+ print_r($img);exit;
if (!$this->authUser && !in_array($img->ontable,$this->public_image_tables)) {
if ($img->ontable != 'core_company') {