1
0
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:
Cameron
2020-12-10 15:52:48 -08:00
parent bd3a181e27
commit f605ddc552
39 changed files with 364 additions and 371 deletions

View File

@@ -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));
}