mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Code optimization and cleanup.
This commit is contained in:
@@ -73,7 +73,7 @@ class e_thumbpage
|
||||
function __construct()
|
||||
{
|
||||
|
||||
$self = realpath(dirname(__FILE__));
|
||||
$self = realpath(__DIR__);
|
||||
|
||||
$e_ROOT = $self."/";
|
||||
|
||||
@@ -95,7 +95,7 @@ class e_thumbpage
|
||||
// support early include feature
|
||||
if(isset($CLASS2_INCLUDE) && !empty($CLASS2_INCLUDE))
|
||||
{
|
||||
require_once(realpath(dirname(__FILE__).'/'.$CLASS2_INCLUDE));
|
||||
require_once(realpath(__DIR__ .'/'.$CLASS2_INCLUDE));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user