From 8624f32e151f479235023c94ad7e2c3aeb59fe64 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Thu, 13 Dec 2018 14:05:07 +0100 Subject: [PATCH] Blocks for themes --- bl-kernel/blocks.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bl-kernel/blocks.class.php b/bl-kernel/blocks.class.php index 41f83486..a8728855 100644 --- a/bl-kernel/blocks.class.php +++ b/bl-kernel/blocks.class.php @@ -13,6 +13,11 @@ class Blocks extends dbJSON parent::__construct(DB_BLOCKS); } + public function get() + { + return $this->db[$key]; + } + // Add a row to the database public function add($args) {