]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/handler/class_BaseDataHandler.php
Rewrites:
[hub.git] / application / hub / main / handler / class_BaseDataHandler.php
index 77cee0af4a964aa2628205b8085c8badb4690ccb..9429cd825b1958d853572000d9bc765f64f64238 100644 (file)
@@ -57,6 +57,12 @@ abstract class BaseDataHandler extends BaseHandler {
        protected function __construct ($className) {
                // Call parent constructor
                parent::__construct($className);
+
+               // Get a DHT instance
+               $dhtInstance = DhtObjectFactory::createDhtObjectInstance('node');
+
+               // Set it here
+               $this->setDhtInstance($dhtInstance);
        }
 
        /**