Pman/Images.php
authorAlan Knowles <alan@akbkhome.com>
Wed, 27 Oct 2010 07:24:00 +0000 (15:24 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 27 Oct 2010 07:24:00 +0000 (15:24 +0800)
Pman/Images.php

index d3b72ff..a8f143f 100644 (file)
@@ -69,6 +69,7 @@ class Pman_Images extends Pman
             if ((count($onbits) < 2)   || empty($onbits[1]) || !is_numeric($onbits[1]) || !strlen($onbits[0])) {
                 die("Bad url");
             }
+            DB_DataObject::debugLevel(1);
             $img = DB_DataObjecT::factory('Images');
             $img->ontable = $onbits[0];
             $img->onid = $onbits[1];