1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 17:44:37 +02:00

PHP8 Plugin code cleanup

This commit is contained in:
Cameron
2021-01-21 09:38:38 -08:00
parent 9e0d014e39
commit f055b49d91
83 changed files with 753 additions and 675 deletions

View File

@@ -38,7 +38,7 @@ if (!defined('e107_INIT'))
// $cobj = e107::getObject('comment');
e107::lan('comment_menu', null);
$cobj = e107::getComment();
$menu_pref = e107::getConfig('menu')->getPref();
@@ -83,6 +83,8 @@ require_once (e_PLUGIN."comment_menu/comment_menu_shortcodes.php");
$sc = e107::getScBatch('comment_menu', true);
$sc->wrapper('comment_menu');
$tp = e107::getParser();
$text .= $tp->parseTemplate($TEMPLATE['start'], true, $sc);
foreach ($data as $row)

View File

@@ -11,7 +11,7 @@
*/
$eplug_admin = TRUE;
require_once("../../class2.php");
require_once(__DIR__.'/../../class2.php');
require_once(e_HANDLER."userclass_class.php");
e107::includeLan(e_PLUGIN."comment_menu/languages/".e_LANGUAGE.".php");