mirror of
https://github.com/e107inc/e107.git
synced 2025-04-22 13:41:52 +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:
parent
f50e3c9be4
commit
8f12e9ada3
@ -195,9 +195,9 @@ else
|
||||
//
|
||||
@include_once(realpath(dirname(__FILE__).'/e107_config.php'));
|
||||
|
||||
if(isset($ZBBLOCK) && ($ZBBLOCK == TRUE))
|
||||
{
|
||||
require_once(realpath(dirname(__FILE__).'/zbblock/zbblock.php'));
|
||||
if(isset($CLASS2_INCLUDE) && ($CLASS2_INCLUDE!=''))
|
||||
{
|
||||
require_once(realpath(dirname(__FILE__).'/'.$CLASS2_INCLUDE));
|
||||
}
|
||||
|
||||
//define("MPREFIX", $mySQLprefix); moved to $e107->set_constants()
|
||||
|
Loading…
x
Reference in New Issue
Block a user