function get($s) // determin what to serve!!!!
{
$this->as_mimetype = empty($_REQUEST['as']) ? '' : $_REQUEST['as'];
- DB_DataObjecT::debugLevel(1);
+
$bits= explode('/', $s);
$id = 0;
// var_dump($bits);die('in');
$img = DB_DataObjecT::factory('Images');
-
+
if (!$id || !$img->get($id)) {
header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=' .