From 6c0b89107cc360f214aaba94d45bcba39ce0c673 Mon Sep 17 00:00:00 2001 From: Jimako Date: Sun, 3 Dec 2023 13:10:54 +0100 Subject: [PATCH] #3 fix undefined constant CLOSES #3 --- README.md | 12 ++++++++++-- e_header.php | 2 +- plugin.xml | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 522c0ad..54cf6a5 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,19 @@ -#e107 CMS version for LGSL - for PHP 7 + e107 CMS 2.3.0 only! - +# e107 CMS version for LGSL + +for e107 2.3.3 Original author of LGSL - Richard Perry (www.greycube.com) Actual author of LGSL - tltneon +Thanks Asger from https://urbangamers.dk/ for testing data and advices to be able create version for LGSL 5.10.3 + +Thanks TacTicTow for testing version for LGSL 6.2.0 + +I am not a player, so this is unknown territory for me. + + ##e107 functionality: diff --git a/e_header.php b/e_header.php index 8394c2d..d993971 100644 --- a/e_header.php +++ b/e_header.php @@ -15,7 +15,7 @@ * ####################################### */ -if (e_CURRENT_PLUGIN == 'lgsl') +if (defined('e_CURRENT_PLUGIN') && e_CURRENT_PLUGIN == 'lgsl') { // e107::css('lgsl', 'lgsl_files/styles/darken_style.css'); // original css files have conflicts with e107 admin styles diff --git a/plugin.xml b/plugin.xml index 6f4bc24..eb37103 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,5 +1,5 @@ - + Live Game Server List by Richard Perry, tltneon version 6.2.0 Live Game Server List Richard Perry, tltneon version 6.2.0