mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Thumb script now supports the early include feature
This commit is contained in:
@@ -86,6 +86,13 @@ class e_thumbpage
|
||||
|
||||
// Config
|
||||
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;
|
||||
|
||||
//Core functions - now API independent
|
||||
|
Reference in New Issue
Block a user