From ad6b0f5bb58a3860f4b991ef2ddf9e2164a5a8ad Mon Sep 17 00:00:00 2001 From: Ortwin Pinke Date: Sun, 17 Oct 2021 17:34:55 +0000 Subject: [PATCH 1/4] =?UTF-8?q?=E2=80=9EREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1c781dc..0bc44e6 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ FS#25 - Collision with pre-installed AMR after Migration ** History / Changelog ** +ConLite 2.1.3 ConLite 2.1.2 ConLite 2.1.1 ConLite 2.1.0 From 2682a4d1c7a1c11fc7c18200869f570bc65fcfde Mon Sep 17 00:00:00 2001 From: "o.pinke" Date: Thu, 28 Oct 2021 15:45:12 +0200 Subject: [PATCH 2/4] add environment stuff to frontend with fallback to old config.php --- cms/{ => data/config/production}/config.php | 0 cms/environment.php | 19 ++++++++++++ cms/front_content.php | 32 ++++++++++++++++----- 3 files changed, 44 insertions(+), 7 deletions(-) rename cms/{ => data/config/production}/config.php (100%) create mode 100644 cms/environment.php diff --git a/cms/config.php b/cms/data/config/production/config.php similarity index 100% rename from cms/config.php rename to cms/data/config/production/config.php diff --git a/cms/environment.php b/cms/environment.php new file mode 100644 index 0000000..180842c --- /dev/null +++ b/cms/environment.php @@ -0,0 +1,19 @@ +Fatal Error
Couldn't include ConLite startup."); +} +include_once($contenido_path . 'includes/startup.php'); cInclude("includes", "functions.con.php"); cInclude("includes", "functions.con2.php"); @@ -137,11 +158,9 @@ if (!isset($encoding) || !is_array($encoding) || count($encoding) == 0) { // @TODO: Should be outsourced into startup process but requires a better detection (frontend or backend) Contenido_Security::checkFrontendGlobals(); - // update urlbuilder set http base path Contenido_Url::getInstance()->getUrlBuilder()->setHttpBasePath($cfgClient[$client]['htmlpath']['frontend']); - // Initialize language if (!isset($lang)) { @@ -227,7 +246,6 @@ $aParams = array( ); $errsite = 'Location: ' . Contenido_Url::getInstance()->buildRedirect($aParams); - /* * Try to initialize variables $idcat, $idart, $idcatart, $idartlang * Note: These variables can be set via http globals e.g. front_content.php?idcat=41&idart=34&idcatart=35&idartlang=42 From 05eea0967af7ec243b1c7438ce76ea52b8490117 Mon Sep 17 00:00:00 2001 From: "o.pinke" Date: Thu, 28 Oct 2021 15:50:07 +0200 Subject: [PATCH 3/4] add environment stuff to frontend with fallback to old config.php --- .gitignore | 1 + nbproject/project.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 052815a..0b2c358 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /conlite/includes/include.style_edit_form_1.php /cms/config.local.php /cms/dflip/ +/conlite/plugins/phpbo.tippspiel/ diff --git a/nbproject/project.xml b/nbproject/project.xml index b4dee34..a5b699d 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -3,7 +3,7 @@ org.netbeans.modules.php.project - ConLite21 + CL_Backend From 5a6dd0778652099e093c7ccd8475b14c96332054 Mon Sep 17 00:00:00 2001 From: "o.pinke" Date: Thu, 28 Oct 2021 15:51:39 +0200 Subject: [PATCH 4/4] git admin --- .gitignore | 1 - nbproject/project.xml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0b2c358..052815a 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,3 @@ /conlite/includes/include.style_edit_form_1.php /cms/config.local.php /cms/dflip/ -/conlite/plugins/phpbo.tippspiel/ diff --git a/nbproject/project.xml b/nbproject/project.xml index a5b699d..b4dee34 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -3,7 +3,7 @@ org.netbeans.modules.php.project - CL_Backend + ConLite21