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