//if (!empty($_GET['_post'])) {
// return $this->post();
//}
+
+ //DB_DataObject::debugLevel(1);
$this->is_local = (!empty($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] == 'localhost') ? true : false;
}
$img->limit(1);
if (!$img->find(true)) {
+
$this->imgErr("no images for that item: " . htmlspecialchars($id),$s);
}
}
function imgErr($reason,$path) {
+
header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=' .
urlencode($reason) .'&path='.urlencode($path));
exit;
$x->serveOnly($this->method);
exit;
}
+ $x->debug=1;
+
$x->convert( $this->as_mimetype);
$x->serve($this->method);
exit;