mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 05:11:42 +02:00
PHP8 Plugin code cleanup
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
// Generated e107 Plugin Admin Area
|
||||
|
||||
require_once('../../class2.php');
|
||||
require_once(__DIR__.'/../../class2.php');
|
||||
if (!getperms('P') || !e107::isInstalled('newsfeed'))
|
||||
{
|
||||
e107::redirect('admin');
|
||||
|
@@ -10,7 +10,7 @@
|
||||
*
|
||||
* if (!defined('e107_INIT'))
|
||||
* {
|
||||
* require_once("../../class2.php");
|
||||
* require_once(__DIR__.'/../../class2.php');
|
||||
* }
|
||||
*
|
||||
*/
|
||||
|
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
if(!defined('e107_INIT'))
|
||||
{
|
||||
require_once('../../class2.php');
|
||||
require_once(__DIR__.'/../../class2.php');
|
||||
}
|
||||
|
||||
if (!e107::isInstalled('newsfeed'))
|
||||
|
Reference in New Issue
Block a user