mirror of
https://github.com/e107inc/e107.git
synced 2025-08-14 02:24:08 +02:00
PHP8 Plugin code cleanup
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
$eplug_admin = true;
|
||||
define('DOWNLOAD_DEBUG',FALSE);
|
||||
|
||||
require_once("../../class2.php");
|
||||
require_once(__DIR__.'/../../class2.php');
|
||||
if (!getperms("P") || !e107::isInstalled('download'))
|
||||
{
|
||||
e107::redirect('admin');
|
||||
@@ -246,6 +246,6 @@ require_once(e_ADMIN."auth.php");
|
||||
//download/includes/admin.php is auto-loaded.
|
||||
e107::getAdminUI()->runPage();
|
||||
require_once(e_ADMIN."footer.php");
|
||||
exit;
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user