mirror of
https://github.com/e107inc/e107.git
synced 2025-08-30 01:30:32 +02:00
PHP8 Plugin code cleanup
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
//include and require several classes
|
||||
require_once("../../class2.php");
|
||||
require_once(__DIR__.'/../../class2.php');
|
||||
if(!getperms("1") || !e107::isInstalled('list_new'))
|
||||
{
|
||||
e107::redirect('admin');
|
||||
|
@@ -22,7 +22,7 @@
|
||||
* @subpackage list_new
|
||||
*/
|
||||
|
||||
require_once("../../class2.php");
|
||||
require_once(__DIR__.'/../../class2.php');
|
||||
|
||||
if (!e107::isInstalled('list_new'))
|
||||
{
|
||||
|
Reference in New Issue
Block a user