mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
PHP8 Plugin code cleanup
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
// Generated e107 Plugin Admin Area
|
||||
|
||||
require_once('../../class2.php');
|
||||
require_once(__DIR__.'/../../class2.php');
|
||||
if (!getperms('P'))
|
||||
{
|
||||
e107::redirect('admin');
|
||||
|
@@ -10,7 +10,7 @@
|
||||
*
|
||||
* if (!defined('e107_INIT'))
|
||||
* {
|
||||
* require_once("../../class2.php");
|
||||
* require_once(__DIR__.'/../../class2.php');
|
||||
* }
|
||||
*
|
||||
*/
|
||||
|
@@ -22,7 +22,7 @@
|
||||
$retrieve_prefs[] = 'pm_prefs';
|
||||
if(!defined('e107_INIT'))
|
||||
{
|
||||
require_once("../../class2.php");
|
||||
require_once(__DIR__.'/../../class2.php');
|
||||
}
|
||||
|
||||
|
||||
|
@@ -33,7 +33,7 @@ TODO:
|
||||
|
||||
$retrieve_prefs[] = 'pm_prefs';
|
||||
$eplug_admin = TRUE;
|
||||
require_once('../../class2.php');
|
||||
require_once(__DIR__.'/../../class2.php');
|
||||
|
||||
if (!e107::isInstalled('pm') || !getperms('P'))
|
||||
{
|
||||
|
Reference in New Issue
Block a user