mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Switched ZBBlock support to a more generic include option: $CLASS2_INCLUDE = "path_to_file"; inside e107_config.php
eg. $CLASS2_INCLUDE = 'zbblock/zbblock.php';
This commit is contained in:
@@ -195,9 +195,9 @@ else
|
|||||||
//
|
//
|
||||||
@include_once(realpath(dirname(__FILE__).'/e107_config.php'));
|
@include_once(realpath(dirname(__FILE__).'/e107_config.php'));
|
||||||
|
|
||||||
if(isset($ZBBLOCK) && ($ZBBLOCK == TRUE))
|
if(isset($CLASS2_INCLUDE) && ($CLASS2_INCLUDE!=''))
|
||||||
{
|
{
|
||||||
require_once(realpath(dirname(__FILE__).'/zbblock/zbblock.php'));
|
require_once(realpath(dirname(__FILE__).'/'.$CLASS2_INCLUDE));
|
||||||
}
|
}
|
||||||
|
|
||||||
//define("MPREFIX", $mySQLprefix); moved to $e107->set_constants()
|
//define("MPREFIX", $mySQLprefix); moved to $e107->set_constants()
|
||||||
|
Reference in New Issue
Block a user