mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Thumb script now supports the early include feature
This commit is contained in:
@@ -86,6 +86,13 @@ class e_thumbpage
|
|||||||
|
|
||||||
// Config
|
// Config
|
||||||
include($self.'/e107_config.php');
|
include($self.'/e107_config.php');
|
||||||
|
|
||||||
|
// support early include feature
|
||||||
|
if(isset($CLASS2_INCLUDE) && !empty($CLASS2_INCLUDE))
|
||||||
|
{
|
||||||
|
require_once(realpath(dirname(__FILE__).'/'.$CLASS2_INCLUDE));
|
||||||
|
}
|
||||||
|
|
||||||
$tmp = $self.'/'.$HANDLERS_DIRECTORY;
|
$tmp = $self.'/'.$HANDLERS_DIRECTORY;
|
||||||
|
|
||||||
//Core functions - now API independent
|
//Core functions - now API independent
|
||||||
|
Reference in New Issue
Block a user