1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Thumb script now supports the early include feature

This commit is contained in:
SecretR 2015-10-26 16:30:24 +02:00
parent 89516d43a1
commit 7acd910150

View File

@ -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