From f50e3c9be4a93cf34eb514699f867c9e07651835 Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Fri, 20 Aug 2010 00:00:54 +0000 Subject: [PATCH] ZBBlock support added. (Just install and add $ZBBLOCK = TRUE; to your e107_config.php file.) --- class2.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/class2.php b/class2.php index 6d632b7ab..0ef6f8158 100644 --- a/class2.php +++ b/class2.php @@ -195,6 +195,11 @@ else // @include_once(realpath(dirname(__FILE__).'/e107_config.php')); +if(isset($ZBBLOCK) && ($ZBBLOCK == TRUE)) +{ + require_once(realpath(dirname(__FILE__).'/zbblock/zbblock.php')); +} + //define("MPREFIX", $mySQLprefix); moved to $e107->set_constants() if(!isset($ADMIN_DIRECTORY))