Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
8651f58496
|
|||
9688fc4ee6 | |||
1d624bbeca
|
|||
f605395a5f
|
|||
007f937426
|
9
LICENSE.md
Normal file
9
LICENSE.md
Normal file
@ -0,0 +1,9 @@
|
||||
# License
|
||||
|
||||
This Software is the property of Data Development and is protected by copyright law - it is NOT Freeware.
|
||||
|
||||
Any unauthorized use of this software without a valid license is a violation of the license agreement and will be prosecuted by civil and criminal law.
|
||||
|
||||
- copyright: (C) [D3 Data Development](https://www.d3data.de/) (Inh. Thomas Dartsch)
|
||||
- author: D3 Data Development - Daniel Seifert <support@shopmodule.com>
|
||||
- link: https://www.oxidmodule.com
|
45
README.en.md
Normal file
45
README.en.md
Normal file
@ -0,0 +1,45 @@
|
||||
[](README.md)
|
||||
[](README.en.md)
|
||||
|
||||
# DÂł Module Connector for OXID eShop
|
||||
|
||||
Base library for D3 modules
|
||||
|
||||
Please refer to the documentation [online](https://docs.oxidmodule.com/Modul_Connector/) and the docs directory of this package for the requirements of this plugin, installation and configuration instructions, changelog and further informations.
|
||||
|
||||
## License
|
||||
(status: 2012-01-15)
|
||||
|
||||
For full copyright and licensing information, please see the [LICENSE](LICENSE.md) file distributed with this source code.
|
||||
|
||||
## Further licences and terms of use
|
||||
|
||||
### Font Awesome
|
||||
|
||||
The module comes with a modified copy of the "Font Awesome by Dave Gandy - http://fontawesome.io" icon library (underlying version: 5.0.6). This is available for use with the call date 2018-01-30 under the following licences (source: https://fontawesome.com/license plus adaptation to individual paths):
|
||||
|
||||
Dem Modul liegt eine veränderte Kopie der "Font Awesome by Dave Gandy - http://fontawesome.io" Icon-Bibliothek (zugrunde liegende Version: 5.0.6) bei. Diese steht mit dem Abrufdatum 30.01.2018 unter den folgenden Lizenzen zur Verwendung bereit (Quelle: https://fontawesome.com/license zzgl. Anpassung auf individuelle Pfade):
|
||||
|
||||
#### Icons
|
||||
|
||||
In the Font Awesome Free download, the CC BY 4.0 license applies to all icons packaged as .svg and .js files types.
|
||||
License: CC BY 4.0 License
|
||||
URL: https://creativecommons.org/licenses/by/4.0/
|
||||
|
||||
#### Fonts
|
||||
|
||||
In the Font Awesome Free download, the SIL OLF license applies to all icons packaged as web and desktop font files.
|
||||
License: SIL OFL 1.1
|
||||
URL: http://scripts.sil.org/OFL
|
||||
|
||||
#### Code
|
||||
|
||||
In the Font Awesome Free download, the MIT license applies to all non-font and non- icon files.
|
||||
License: MIT License
|
||||
URL: https://opensource.org/licenses/MIT
|
||||
|
||||
#### Brand Icons
|
||||
|
||||
All brand icons are trademarks of their respective owners. The use of these trademarks does not indicate endorsement of the trademark holder by Font Awesome, nor vice versa.
|
||||
|
||||
__Please do not use brand logos for any purpose except to represent the company, product, or service to which they refer.__
|
52
README.md
52
README.md
@ -1,23 +1,43 @@
|
||||
[](README.md)
|
||||
[](README.en.md)
|
||||
|
||||
# DÂł Modul Connector fĂĽr OXID eShop
|
||||
Basisbibliothek fĂĽr D3-Module
|
||||
|
||||
[](https://packagist.org/packages/d3/modcfg)
|
||||

|
||||

|
||||

|
||||
Basisbibliothek fĂĽr D3 Module
|
||||
|
||||
[](https://packagist.org/packages/d3/modcfg)
|
||||
[](https://docs.oxidmodule.com/Modul_Connector/)
|
||||
[](https://packagist.org/packages/d3/modcfg)
|
||||
Die Anforderungen des Moduls, Installations- und Konfigurationshinweise, Changelog und weitere Informationen entnehmen Sie bitte der Dokumentation [online](https://docs.oxidmodule.com/Modul_Connector/) und im docs-Verzeichnis dieses Paketes.
|
||||
|
||||
## Systemanforderungen:
|
||||
- installierter OXID eShop
|
||||
- PHP-Version, fĂĽr die Installationspakete verfĂĽgbar sind
|
||||
- Installation via Composer
|
||||
- ionCube Loader
|
||||
## Lizenz
|
||||
(Stand: 15.01.2012)
|
||||
|
||||
Die jeweils geforderten Versionen und sonstige Anforderungen entnehmen Sie bitte der Dokumentation [online](https://docs.oxidmodule.com/Modul_Connector/) und im docs-Verzeichnis dieses Paketes.
|
||||
Die Copyright- und Lizenzinformationen entnehmen Sie bitte der [LICENSE](LICENSE.md)-Datei, die mit diesem Quellcode verteilt wurde.
|
||||
|
||||
## Installation:
|
||||
## weitere Lizenzen und Nutzungsbedingungen
|
||||
|
||||
Eine detaillierte Installationsanleitung finden Sie [online](https://docs.oxidmodule.com/Modul_Connector/) und im docs-Verzeichnis dieses Pakets.
|
||||
### Font Awesome
|
||||
|
||||
Dem Modul liegt eine veränderte Kopie der "Font Awesome by Dave Gandy - http://fontawesome.io" Icon-Bibliothek (zugrunde liegende Version: 5.0.6) bei. Diese steht mit dem Abrufdatum 30.01.2018 unter den folgenden Lizenzen zur Verwendung bereit (Quelle: https://fontawesome.com/license zzgl. Anpassung auf individuelle Pfade):
|
||||
|
||||
#### Icons
|
||||
|
||||
In the Font Awesome Free download, the CC BY 4.0 license applies to all icons packaged as .svg and .js files types.
|
||||
License: CC BY 4.0 License
|
||||
URL: https://creativecommons.org/licenses/by/4.0/
|
||||
|
||||
#### Fonts
|
||||
|
||||
In the Font Awesome Free download, the SIL OLF license applies to all icons packaged as web and desktop font files.
|
||||
License: SIL OFL 1.1
|
||||
URL: http://scripts.sil.org/OFL
|
||||
|
||||
#### Code
|
||||
|
||||
In the Font Awesome Free download, the MIT license applies to all non-font and non- icon files.
|
||||
License: MIT License
|
||||
URL: https://opensource.org/licenses/MIT
|
||||
|
||||
#### Brand Icons
|
||||
|
||||
All brand icons are trademarks of their respective owners. The use of these trademarks does not indicate endorsement of the trademark holder by Font Awesome, nor vice versa.
|
||||
|
||||
__Please do not use brand logos for any purpose except to represent the company, product, or service to which they refer.__
|
@ -17,6 +17,7 @@
|
||||
|
||||
/**
|
||||
* @return \Symfony\Component\DependencyInjection\ContainerBuilder
|
||||
* @deprecated use d3GetOxidDIC instead
|
||||
*/
|
||||
function d3GetModCfgDIC()
|
||||
{
|
||||
|
@ -37,8 +37,9 @@
|
||||
},
|
||||
"require": {
|
||||
"php": "^8.0",
|
||||
"ext-sourceguardian": "*",
|
||||
"oxid-esales/oxideshop-ce": "6.8 - 6.10",
|
||||
"ext-sourceguardian": "^14",
|
||||
"oxid-esales/oxideshop-ce": "6.8 - 6.14",
|
||||
"d3/oxid-dic-handler": "^1.0",
|
||||
"ext-openssl": "*",
|
||||
"ext-mbstring": "*",
|
||||
"ext-dom": "*",
|
||||
@ -53,12 +54,13 @@
|
||||
"ext-simplexml": "*",
|
||||
"ext-mysqli": "*",
|
||||
"psr/log": "^1.0.2",
|
||||
"symfony/dependency-injection": "^3.1",
|
||||
"symfony/dependency-injection": "^3.1|^5.4.11",
|
||||
"guzzlehttp/guzzle": "^6.3.3 || ^7.0",
|
||||
"splitbrain/php-cli": "^1.1"
|
||||
"splitbrain/php-cli": "^1.2.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"mikey179/vfsstream": "^1.6.8"
|
||||
"mikey179/vfsstream": "^1.6.8",
|
||||
"phpstan/phpstan": "^1.8"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
@ -72,5 +74,8 @@
|
||||
"src/bin/d3modules_install",
|
||||
"src/bin/d3cleartmp",
|
||||
"src/bin/d3maintenance"
|
||||
]
|
||||
],
|
||||
"scripts": {
|
||||
"phpstan": "./vendor/bin/phpstan --configuration=./vendor/d3/modcfg/phpstan.neon"
|
||||
}
|
||||
}
|
||||
|
@ -2,6 +2,58 @@
|
||||
title: Changelog
|
||||
---
|
||||
|
||||
## 6.2.0.0 (2024-02-28)
|
||||
### Added
|
||||
- Rechte und Rollen PrĂĽfungen in Templates integriert
|
||||
- Nur-Lesen-Attribute für eingeschränkt bearbeitbare Eingabefelder hinzugefügt
|
||||
- Kompatibilitätsadapter erkennt abweichende Versionsangaben des O3-Shop
|
||||
|
||||
### Changed
|
||||
- Fehler beim Verbinden zu Remoteservern werden gefangen und behandelt
|
||||
- Ausnahmebehandlung reicht Exception weiter (Paypal Checkout verwendet Exceptions für reguläre Abläufe)
|
||||
|
||||
### Fixed
|
||||
- falsche Shebang in der Vorlage fĂĽr Shell-Scripte korrigiert
|
||||
|
||||
## 6.1.2.0 (2023-03-03)
|
||||
### Added
|
||||
- installierbar in OXID 6.5.2 (CE 6.14)
|
||||
- DI-Container wird aus separatem Paket bezogen und ist nicht mehr Teil des Connectors
|
||||
### removed
|
||||
- Dependency Injection Container
|
||||
|
||||
## 6.1.1.0 (2022-12-20)
|
||||
### Added
|
||||
- installierbar in OXID 6.5.1 (CE 6.13)
|
||||
- Logstatus kann auch mit Ganzzahlen (z.B. aus Konstanten) definiert werden
|
||||
- fängt alle Exceptions, die während des Loggings auftreten
|
||||
|
||||
## 6.1.0.0 (2022-08-29)
|
||||
### Added
|
||||
- installierbar in OXID 6.5 (CE 6.12)
|
||||
- Caches fĂĽr Thememapping und Modulkonfiguration eingefĂĽgt
|
||||
|
||||
### Changed
|
||||
- duplizierte Modulprofile erhalten neues Erstellungsdatum
|
||||
- Syntax bei Querybuilder generierten Abfragen ergänzt
|
||||
- undefinierte Aktivierungsfehler ergänzt
|
||||
- protokolliert keine Shutdownfehler, wenn diese keine Informationen enthalten
|
||||
- Dokumentation ergänzt
|
||||
- DIContainer wird nun kompiliert ausgeliefert
|
||||
- DIC-Cache wird fĂĽr jeden Shopmandanten separat angelegt
|
||||
- Tests ergänzt
|
||||
- veraltete Methodenaufrufe aufgelöst
|
||||
|
||||
### Fixed
|
||||
- verhindert Fehler beim Schreiben von Ausnamen ins Log, wenn noch keine Connectorkonfiguration angelegt wurde
|
||||
- sichert SQL-AusfĂĽhrung weiter ab
|
||||
- zeigt ModCfg-Module in der Modulliste auch, wenn diese der erste Eintrag sind
|
||||
|
||||
### Removed
|
||||
- abgekĂĽndigte Thememappingfunktionen in erweiterter Theme-Klasse, verwende statt dessen die Methoden in der d3thememapping-Klasse
|
||||
|
||||
---
|
||||
|
||||
## 6.0.2.0 (2021-12-17)
|
||||
|
||||
### Added
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"title": "<i class='fab fa-d3 d3fa-color-blue'></i> Modul-Connector",
|
||||
"moduleversion": "6.0.2.0",
|
||||
"moduleversion": "6.2.0.0",
|
||||
"titledesc": "fĂĽr den Oxid eShop",
|
||||
"author": "DÂł Data Development",
|
||||
"moduledate": "17.12.2021",
|
||||
"moduledate": "28.02.2024",
|
||||
"editors": "",
|
||||
"tagline": "",
|
||||
"image": "",
|
||||
|
@ -5,9 +5,10 @@ title: Systemanforderungen
|
||||
* PHP Version
|
||||
* 7.3.x
|
||||
* 7.4.x
|
||||
* 8.0.x mit deaktivierter OPcache-Extension
|
||||
* 8.0.x
|
||||
* PHP Decoder
|
||||
* installierter ionCube Loader
|
||||
* installierter ionCube Loader (PHP bis 7.4) *oder*
|
||||
* installierter SourceGuardian Loader (PHP ab 8.0)
|
||||
* Shopeditionen
|
||||
* OXID eShop Community Edition (CE)
|
||||
* OXID eShop Professional Edition (PE)
|
||||
@ -17,6 +18,7 @@ title: Systemanforderungen
|
||||
* OXID eShop in Compilation Version
|
||||
* 6.3.x
|
||||
* 6.4.x
|
||||
* 6.5.x
|
||||
* Themes
|
||||
* Dieses Modul arbeitet unabhängig von Frontendtemplates und hat daher keine speziellen Anforderungen.
|
||||
* Installation via [Composer](https://getcomposer.org)
|
||||
@ -24,4 +26,11 @@ title: Systemanforderungen
|
||||
* PHP-Bibliothek "mbString"
|
||||
* PHP-Bibliothek "iconv"
|
||||
|
||||
Beachten Sie, dass die Ihnen vorliegende Modulversion entsprechend fĂĽr Ihre genutzte PHP-Version sowie dem auf Ihrem Server vorhandenen Decoder (**ionCube Loader**) kompatibel ist. Im Zweifelsfall kontaktieren Sie uns und nennen den fĂĽr Ihren Shop genutzten Decoder und die PHP-Version.
|
||||
Beachten Sie, dass die Ihnen vorliegende Modulversion entsprechend fĂĽr Ihre genutzte PHP-Version sowie dem auf Ihrem Server vorhandenen Decoder kompatibel ist. Im Zweifelsfall kontaktieren Sie uns und nennen den fĂĽr Ihren Shop genutzten Decoder und die PHP-Version.
|
||||
|
||||
## Verwendung mit der OPcache-Erweiterung
|
||||
|
||||
Im Zusammenspiel mit der OPcache-Erweiterung beobachteten wir in der Vergangenheit ungewöhnliche Verhaltensweisen unseres Moduls. Daher empfehlen wir folgende Anpassung:
|
||||
|
||||
* deaktivieren Sie in den `opcache.optimization_level`-Einstellungen mit Bit 5 die Control flow graph optimization (Standard in PHP 8 mit deaktiviertem Bit: 0x7FFEBFEF) oder
|
||||
* deaktivieren Sie die OPcache-Erweiterung komplett
|
@ -72,16 +72,78 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../changelog/Changelog.html">Changelog</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
<h2 id="page_6-0-2-0-2021-12-17">6.0.2.0 (2021-12-17)</h2>
|
||||
<h2 id="page_6-2-0-0-2024-02-28">6.2.0.0 (2024-02-28)</h2>
|
||||
<h3 id="page_Added">Added</h3>
|
||||
<ul>
|
||||
<li>Rechte und Rollen PrĂĽfungen in Templates integriert</li>
|
||||
<li>Nur-Lesen-Attribute für eingeschränkt bearbeitbare Eingabefelder hinzugefügt</li>
|
||||
<li>Kompatibilitätsadapter erkennt abweichende Versionsangaben des O3-Shop</li>
|
||||
</ul>
|
||||
<h3 id="page_Changed">Changed</h3>
|
||||
<ul>
|
||||
<li>Fehler beim Verbinden zu Remoteservern werden gefangen und behandelt</li>
|
||||
<li>Ausnahmebehandlung reicht Exception weiter (Paypal Checkout verwendet Exceptions für reguläre Abläufe)</li>
|
||||
</ul>
|
||||
<h3 id="page_Fixed">Fixed</h3>
|
||||
<ul>
|
||||
<li>falsche Shebang in der Vorlage fĂĽr Shell-Scripte korrigiert</li>
|
||||
</ul>
|
||||
<h2 id="page_6-1-2-0-2023-03-03">6.1.2.0 (2023-03-03)</h2>
|
||||
<h3 id="page_Added-2">Added</h3>
|
||||
<ul>
|
||||
<li>installierbar in OXID 6.5.2 (CE 6.14)</li>
|
||||
<li>DI-Container wird aus separatem Paket bezogen und ist nicht mehr Teil des Connectors</li>
|
||||
</ul>
|
||||
<h3 id="page_removed">removed</h3>
|
||||
<ul>
|
||||
<li>Dependency Injection Container</li>
|
||||
</ul>
|
||||
<h2 id="page_6-1-1-0-2022-12-20">6.1.1.0 (2022-12-20)</h2>
|
||||
<h3 id="page_Added-2">Added</h3>
|
||||
<ul>
|
||||
<li>installierbar in OXID 6.5.1 (CE 6.13)</li>
|
||||
<li>Logstatus kann auch mit Ganzzahlen (z.B. aus Konstanten) definiert werden</li>
|
||||
<li>fängt alle Exceptions, die während des Loggings auftreten</li>
|
||||
</ul>
|
||||
<h2 id="page_6-1-0-0-2022-08-29">6.1.0.0 (2022-08-29)</h2>
|
||||
<h3 id="page_Added-2">Added</h3>
|
||||
<ul>
|
||||
<li>installierbar in OXID 6.5 (CE 6.12)</li>
|
||||
<li>Caches fĂĽr Thememapping und Modulkonfiguration eingefĂĽgt</li>
|
||||
</ul>
|
||||
<h3 id="page_Changed-2">Changed</h3>
|
||||
<ul>
|
||||
<li>duplizierte Modulprofile erhalten neues Erstellungsdatum</li>
|
||||
<li>Syntax bei Querybuilder generierten Abfragen ergänzt</li>
|
||||
<li>undefinierte Aktivierungsfehler ergänzt</li>
|
||||
<li>protokolliert keine Shutdownfehler, wenn diese keine Informationen enthalten</li>
|
||||
<li>Dokumentation ergänzt</li>
|
||||
<li>DIContainer wird nun kompiliert ausgeliefert</li>
|
||||
<li>DIC-Cache wird fĂĽr jeden Shopmandanten separat angelegt</li>
|
||||
<li>Tests ergänzt</li>
|
||||
<li>veraltete Methodenaufrufe aufgelöst</li>
|
||||
</ul>
|
||||
<h3 id="page_Fixed-2">Fixed</h3>
|
||||
<ul>
|
||||
<li>verhindert Fehler beim Schreiben von Ausnamen ins Log, wenn noch keine Connectorkonfiguration angelegt wurde</li>
|
||||
<li>sichert SQL-AusfĂĽhrung weiter ab</li>
|
||||
<li>zeigt ModCfg-Module in der Modulliste auch, wenn diese der erste Eintrag sind</li>
|
||||
</ul>
|
||||
<h3 id="page_Removed">Removed</h3>
|
||||
<ul>
|
||||
<li>abgekĂĽndigte Thememappingfunktionen in erweiterter Theme-Klasse, verwende statt dessen die Methoden in der d3thememapping-Klasse</li>
|
||||
</ul>
|
||||
<hr />
|
||||
<h2 id="page_6-0-2-0-2021-12-17">6.0.2.0 (2021-12-17)</h2>
|
||||
<h3 id="page_Added-2">Added</h3>
|
||||
<ul>
|
||||
<li>make installable in OXID 6.4</li>
|
||||
</ul>
|
||||
<h3 id="page_Changed">Changed</h3>
|
||||
<h3 id="page_Changed-2">Changed</h3>
|
||||
<ul>
|
||||
<li>prevent admin error, while empty modulelist file register for health check</li>
|
||||
<li>make CLI check compatible to PHP internal server</li>
|
||||
@ -89,7 +151,7 @@
|
||||
<li>CLI use translations from defined language and from admin area</li>
|
||||
<li>write CLI outputs to STD pipes instead of outputting to display</li>
|
||||
</ul>
|
||||
<h3 id="page_Fixed">Fixed</h3>
|
||||
<h3 id="page_Fixed-2">Fixed</h3>
|
||||
<ul>
|
||||
<li>syntax error in maintenance query</li>
|
||||
</ul>
|
||||
|
@ -48,8 +48,8 @@
|
||||
|
||||
|
||||
<div class="details">
|
||||
<div>Autor: DÂł Data Development</div> <div>Stand: 17.12.2021</div>
|
||||
<div>Version: 6.0.2.0</div>
|
||||
<div>Autor: DÂł Data Development</div> <div>Stand: 28.02.2024</div>
|
||||
<div>Version: 6.2.0.0</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Anforderungen/Systemanforderungen.html">Anforderungen</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Anforderungen/Beiliegende_Bibliotheken.html">beiliegende Bibliotheken</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Anforderungen/Systemanforderungen.html">Anforderungen</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Anforderungen/Systemanforderungen.html">Systemanforderungen</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
@ -81,12 +81,14 @@
|
||||
<ul>
|
||||
<li>7.3.x</li>
|
||||
<li>7.4.x</li>
|
||||
<li>8.0.x mit deaktivierter OPcache-Extension</li>
|
||||
<li>8.0.x</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>PHP Decoder
|
||||
<ul>
|
||||
<li>installierter ionCube Loader</li>
|
||||
<li>installierter ionCube Loader (PHP bis 7.4) <em>oder</em>
|
||||
</li>
|
||||
<li>installierter SourceGuardian Loader (PHP ab 8.0)</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Shopeditionen
|
||||
@ -103,6 +105,7 @@
|
||||
<ul>
|
||||
<li>6.3.x</li>
|
||||
<li>6.4.x</li>
|
||||
<li>6.5.x</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -118,7 +121,13 @@
|
||||
<li>PHP-Bibliothek "mbString"</li>
|
||||
<li>PHP-Bibliothek "iconv"</li>
|
||||
</ul>
|
||||
<p>Beachten Sie, dass die Ihnen vorliegende Modulversion entsprechend fĂĽr Ihre genutzte PHP-Version sowie dem auf Ihrem Server vorhandenen Decoder (<strong>ionCube Loader</strong>) kompatibel ist. Im Zweifelsfall kontaktieren Sie uns und nennen den fĂĽr Ihren Shop genutzten Decoder und die PHP-Version.</p>
|
||||
<p>Beachten Sie, dass die Ihnen vorliegende Modulversion entsprechend fĂĽr Ihre genutzte PHP-Version sowie dem auf Ihrem Server vorhandenen Decoder kompatibel ist. Im Zweifelsfall kontaktieren Sie uns und nennen den fĂĽr Ihren Shop genutzten Decoder und die PHP-Version.</p>
|
||||
<h2 id="page_Verwendung-mit-der-OPcache-Erweiterung">Verwendung mit der OPcache-Erweiterung</h2>
|
||||
<p>Im Zusammenspiel mit der OPcache-Erweiterung beobachteten wir in der Vergangenheit ungewöhnliche Verhaltensweisen unseres Moduls. Daher empfehlen wir folgende Anpassung:</p>
|
||||
<ul>
|
||||
<li>deaktivieren Sie in den <code>opcache.optimization_level</code>-Einstellungen mit Bit 5 die Control flow graph optimization (Standard in PHP 8 mit deaktiviertem Bit: 0x7FFEBFEF) oder</li>
|
||||
<li>deaktivieren Sie die OPcache-Erweiterung komplett</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/Dateien_loeschen.html">Dateien löschen</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/Datenbank_bereinigen.html">Datenbank bereinigen</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/Modul_aus_der_Installation_entfernen.html">Modul aus der Installation entfernen</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/Modul_deaktivieren.html">Modul deaktivieren</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Modulerweiterungen deaktivieren und entfernen</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/TMP-Ordner_leeren.html">TMP-Ordner leeren</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../installation/Installation.html">Installation / Update / Deinstallation</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../installation/Installationspruefung.html">InstallationsprĂĽfung</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,13 +72,13 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Modul_hinzufuegen.html">Modul zur Installation hinzufĂĽgen</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
<h3 id="page_auf-der-Kommandozeile"><strong>auf der Kommandozeile</strong></h3>
|
||||
<p>FĂĽhren Sie in der Konsole im Hauptverzeichnis Ihres Shops (oberhalb des <code>source</code>- und <code>vendor</code>-Verzeichnisses) diesen Befehl aus, um das Modul <strong><i class='fab fa-d3 d3fa-color-blue'></i> Modul-Connector</strong> zur Installation hinzuzufĂĽgen:</p>
|
||||
<pre><code class="language-bash">php composer require d3/modcfg:^6.0.2.0 --update-no-dev
|
||||
<pre><code class="language-bash">php composer require d3/modcfg:^6.2.0.0 --update-no-dev
|
||||
|
||||
> [!] Achten Sie darauf, dass Composer für die Installation die selbe PHP-Version verwendet, in der auch Ihr Shop ausgeführt wird. Sie erhalten sonst möglicherweise unpassende Modulpakete.
|
||||
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Modul_im_Shop_aktivieren.html">Modul im Shop aktivieren</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Providerspezifische_Installation.html">Providerspezifische Installation</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Shopanpassungen_installieren.html">Shopanpassungen installieren</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/TMP-Ordner_leeren.html">TMP-Ordner leeren</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Updatefaehigkeit.html">Updatefähigkeit</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,13 +72,13 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
<h2 id="page_Schnellstart-per-Composer">Schnellstart per Composer</h2>
|
||||
<h3 id="page_auf-der-Kommandozeile"><strong>auf der Kommandozeile</strong></h3>
|
||||
<pre><code class="language-bash">php composer require d3/modcfg:^6.0.2.0 --update-no-dev
|
||||
<pre><code class="language-bash">php composer require d3/modcfg:^6.2.0.0 --update-no-dev
|
||||
./vendor/bin/oe-console oe:module:activate d3modcfg_lib
|
||||
./vendor/bin/d3modules_install
|
||||
./vendor/bin/d3cleartmp
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../installation/Schnellstart.html">Schnellstart</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../installation/Shopupgrade.html">Shopupgrade</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,14 +72,14 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Update/index.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Dateien_erneuern.html">Dateien erneuern</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
<h3 id="page_auf-der-Kommandozeile"><strong>auf der Kommandozeile</strong></h3>
|
||||
<p>Starten Sie die Konsole Ihres Webservers und wechseln in das Hauptverzeichnis Ihres
|
||||
Shops (oberhalb des <code>source</code>- und <code>vendor</code>-Verzeichnisses). FĂĽhren Sie dort diesen Befehl aus:</p>
|
||||
<pre><code class="language-bash">php composer require d3/modcfg:^6.0.2.0 --update-no-dev
|
||||
<pre><code class="language-bash">php composer require d3/modcfg:^6.2.0.0 --update-no-dev
|
||||
</code></pre>
|
||||
<p>Im weiteren Ablauf werden Sie gefragt, ob die Moduldateien überschrieben werden sollen. Bestätigen Sie dies für den Eintrag <code>d3/modcfg</code>.</p>
|
||||
<blockquote class="alert alert-warning">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Update/index.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Providerspezifische_Installation.html">Providerspezifische Installation</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Update/index.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Shopanpassungen_installieren.html">Shopanpassungen installieren</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Update/index.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/TMP-Ordner_leeren.html">TMP-Ordner leeren</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Update/index.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Updatedefinition.html">Wann kann ein Update ausgefĂĽhrt werden?</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../../installation/Update/index.html">Update</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../manual/Einsatz_in_anderen_Modulen.html">Einsatz in anderen Modulen</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../manual/Was_ist_im_Connector_enthalten.html">Was ist im Connector enthalten</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../manual/optischeAnpassungen.html">optische Anpassungen</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../manual/zusaetzliche_Config_Einstellungen.html">zusätzliche Config-Einstellungen</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<div class="Page__header">
|
||||
<h1><a href="../support/Hilfe-und-Support.html">Hilfe und Support</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
17.12.2021 </span>
|
||||
28.02.2024 </span>
|
||||
</div>
|
||||
|
||||
<div class="s-content">
|
||||
|
File diff suppressed because one or more lines are too long
11
phpstan.neon
Normal file
11
phpstan.neon
Normal file
@ -0,0 +1,11 @@
|
||||
parameters:
|
||||
scanFiles:
|
||||
- ./src/IntelliSenseHelper.php
|
||||
- ../../oxid-esales/oxideshop-ce/source/oxfunctions.php
|
||||
- ../../oxid-esales/oxideshop-ce/source/overridablefunctions.php
|
||||
paths:
|
||||
- ./src
|
||||
level: 0
|
||||
phpVersion: 70300
|
||||
checkMissingIterableValueType: false
|
||||
|
@ -43,7 +43,7 @@ class d3modext extends d3_cfg_mod_
|
||||
{
|
||||
d3install::getInstance()->startUpdateFrame();
|
||||
|
||||
return parent::__construct();
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -64,7 +64,7 @@ class d3modlib extends d3_cfg_mod_
|
||||
{
|
||||
d3install::getInstance()->startUpdateFrame();
|
||||
|
||||
return parent::__construct();
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -323,6 +323,9 @@ final class d3mod_activation extends d3_cfg_mod_main
|
||||
case '6':
|
||||
$sIdent .= "DIFFERENTSHOPS";
|
||||
break;
|
||||
case '7':
|
||||
$sIdent .= "NEWERMAJORVERSION";
|
||||
break;
|
||||
}
|
||||
|
||||
return Registry::getLang()->translateString($sIdent);
|
||||
|
@ -71,7 +71,7 @@ class d3cleartmp extends d3_cfg_mod_main
|
||||
$this->addTplParam('clearTagcloud', false);
|
||||
$this->addTplParam('clearMenu', false);
|
||||
|
||||
return parent::__construct();
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -43,7 +43,7 @@ class d3sysitems extends d3_cfg_mod_
|
||||
{
|
||||
d3install::getInstance()->startUpdateFrame();
|
||||
|
||||
return parent::__construct();
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -68,7 +68,6 @@ class d3_cfg_mod_main extends AdminDetailsController
|
||||
$this->addTplParam('actlocation', false);
|
||||
$this->addTplParam('Errors', false);
|
||||
$this->addTplParam('box', 'box');
|
||||
$this->addTplParam('readonly', false);
|
||||
$this->addTplParam('shop', Registry::getConfig()->getActiveShop());
|
||||
$this->addTplParam('art_category', null);
|
||||
$this->addTplParam('_act', null);
|
||||
@ -167,6 +166,7 @@ class d3_cfg_mod_main extends AdminDetailsController
|
||||
}
|
||||
|
||||
$this->addTplParam('blShowLangSwitch', $this->_blD3ShowLangSwitch);
|
||||
|
||||
if (false == $this->_blUseOwnOxid) {
|
||||
$this->addTplParam('oxid', $this->d3GetSet()->getId());
|
||||
$this->addTplParam('edit', $this->d3GetSet());
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -15,199 +15,35 @@
|
||||
|
||||
namespace D3\ModCfg\Application\Model\DependencyInjectionContainer;
|
||||
|
||||
use D3\ModCfg\Application\Model\Modulemetadata\d3moduleconfiguration;
|
||||
use d3CacheContainer;
|
||||
use Exception;
|
||||
use OxidEsales\Eshop\Core\Module\ModuleList;
|
||||
use OxidEsales\Eshop\Core\Registry;
|
||||
use OxidEsales\Eshop\Core\Request;
|
||||
use OxidEsales\Facts\Config\ConfigFile;
|
||||
use Symfony\Component\Config\FileLocator;
|
||||
use D3\DIContainerHandler\d3DicHandler as externalDICHandler;
|
||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
use Symfony\Component\DependencyInjection\Dumper\PhpDumper;
|
||||
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
|
||||
|
||||
/**
|
||||
* @deprecated use D3\DIContainerHandler\d3DicHandler
|
||||
*/
|
||||
class d3DicHandler implements d3DicHandlerInterface
|
||||
{
|
||||
/**
|
||||
* instance
|
||||
* @var array
|
||||
*/
|
||||
protected static $_instance;
|
||||
|
||||
public static $circularReferenceMethodNames = array(
|
||||
'getViewConfig'
|
||||
);
|
||||
|
||||
/**
|
||||
* get instance
|
||||
* @return ContainerBuilder
|
||||
*/
|
||||
public static function getInstance()
|
||||
{
|
||||
$trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
|
||||
$caller = $trace[1];
|
||||
$functionName = $caller['function'];
|
||||
return externalDICHandler::getInstance();
|
||||
}
|
||||
|
||||
if (in_array(strtolower($functionName), array_map('strtolower', self::$circularReferenceMethodNames)))
|
||||
{
|
||||
throw oxNew(Exception::class, 'method '.$functionName." can't use DIC due the danger of circular reference");
|
||||
}
|
||||
|
||||
if (null == self::$_instance) {
|
||||
$oDicHandler = oxNew(d3DicHandler::class);
|
||||
self::$_instance = $oDicHandler->buildContainer();
|
||||
}
|
||||
|
||||
return self::$_instance;
|
||||
/**
|
||||
* get instance
|
||||
* @return ContainerBuilder
|
||||
*/
|
||||
public static function getUncompiledInstance()
|
||||
{
|
||||
return externalDICHandler::getUncompiledInstance();
|
||||
}
|
||||
|
||||
public static function removeInstance()
|
||||
{
|
||||
self::$_instance = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function d3GetConfig()
|
||||
{
|
||||
return Registry::getConfig();
|
||||
}
|
||||
|
||||
public function d3GetCacheFilePath()
|
||||
{
|
||||
return $this->d3GetConfig()->getConfigParam('sCompileDir').'/d3DicContainer.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* @return d3CacheContainer|object
|
||||
*/
|
||||
public function d3GetCacheContainer()
|
||||
{
|
||||
require_once $this->d3GetCacheFilePath();
|
||||
return oxNew(d3CacheContainer::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $container
|
||||
* @return YamlFileLoader
|
||||
*/
|
||||
public function d3GetFileLoader($container)
|
||||
{
|
||||
/** @var YamlFileLoader $fileLoader */
|
||||
$fileLoader = oxNew(YamlFileLoader::class,
|
||||
$container,
|
||||
oxNew(FileLocator::class, $this->d3GetConfig()->getModulesDir())
|
||||
);
|
||||
|
||||
return $fileLoader;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $container
|
||||
*/
|
||||
public function loadFiles($container)
|
||||
{
|
||||
$loader = $this->d3GetFileLoader($container);
|
||||
|
||||
foreach ($this->getShopDefinitionFiles() as $file) {
|
||||
$fullPath = $this->d3GetConfig()->getModulesDir().$file;
|
||||
if (is_file($fullPath)) {
|
||||
$loader->load($file);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return ContainerBuilder
|
||||
*/
|
||||
public function buildContainer()
|
||||
{
|
||||
if ((bool) Registry::get( ConfigFile::class)->getVar( 'iDebug')) startProfile(__METHOD__);
|
||||
|
||||
$config = $this->d3GetConfig();
|
||||
|
||||
if ($config->isProductiveMode()
|
||||
&& false == $config->getConfigParam('iDebug')
|
||||
&& (false == defined('OXID_PHP_UNIT') || true == defined('D3_MODCFG_TEST'))
|
||||
&& file_exists($this->d3GetCacheFilePath())
|
||||
) {
|
||||
$container = $this->d3GetCacheContainer();
|
||||
} else {
|
||||
$container = $this->getContainerBuilder();
|
||||
$this->loadFiles($container);
|
||||
|
||||
if (false == defined('OXID_PHP_UNIT')) {
|
||||
$dumper = new PhpDumper($container);
|
||||
file_put_contents($this->d3GetCacheFilePath(), $dumper->dump(array('class' => 'd3CacheContainer')));
|
||||
}
|
||||
}
|
||||
|
||||
if ((bool) Registry::get( ConfigFile::class)->getVar( 'iDebug')) stopProfile(__METHOD__);
|
||||
|
||||
return $container;
|
||||
}
|
||||
|
||||
public function getContainerBuilder()
|
||||
{
|
||||
return oxNew(ContainerBuilder::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getShopDefinitionFiles()
|
||||
{
|
||||
return $this->getDefinitionFiles('d3DICDefinitionFiles');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $sMetaDataIdent
|
||||
* @return array
|
||||
*/
|
||||
public function getDefinitionFiles($sMetaDataIdent)
|
||||
{
|
||||
$aDICDefintionFileList = [];
|
||||
|
||||
/** @var ModuleList $oModuleList */
|
||||
$oModuleList = oxNew(ModuleList::class);
|
||||
$aActiveModuleIdList = array_keys($oModuleList->getActiveModuleInfo());
|
||||
|
||||
if (Registry::get(Request::class)->getRequestEscapedParameter('cl') === 'module_main'
|
||||
&& ($sCurrentModuleId = Registry::get(Request::class)->getRequestEscapedParameter('oxid'))
|
||||
&& false === in_array($sCurrentModuleId, $aActiveModuleIdList)
|
||||
) {
|
||||
$aActiveModuleIdList[] = $sCurrentModuleId;
|
||||
}
|
||||
|
||||
foreach ($aActiveModuleIdList as $sModuleId) {
|
||||
$oModuleConfiguration = oxNew(d3moduleconfiguration::class);
|
||||
$aDICDefintionFiles = $oModuleConfiguration->getInfo($sMetaDataIdent, $sModuleId);
|
||||
if (isset($aDICDefintionFiles) && is_array($aDICDefintionFiles)) {
|
||||
$aDICDefintionFileList = array_merge($aDICDefintionFileList, $aDICDefintionFiles);
|
||||
}
|
||||
}
|
||||
|
||||
$aBaseServiceIds = array(
|
||||
'd3/modcfg'
|
||||
);
|
||||
|
||||
$aDefFileList = array();
|
||||
|
||||
foreach ($aDICDefintionFileList as $sKey => $sFileName) {
|
||||
foreach ($aBaseServiceIds as $sBaseKey => $sBaseClass) {
|
||||
if (strstr(strtolower($sFileName), strtolower($sBaseClass))) {
|
||||
$aDefFileList[$sBaseKey] = $sFileName;
|
||||
unset($aDICDefintionFileList[$sKey]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ksort($aDefFileList, SORT_NUMERIC);
|
||||
$aDefFileList = array_merge($aDefFileList, $aDICDefintionFileList);
|
||||
|
||||
return $aDefFileList;
|
||||
externalDICHandler::removeInstance();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -4,6 +4,8 @@ namespace D3\ModCfg\Application\Model\DependencyInjectionContainer;
|
||||
|
||||
/**
|
||||
* Interface d3DicHandlerInterface
|
||||
*
|
||||
* @deprecated use D3\DIContainerHandler\d3DicHandlerInterface
|
||||
*/
|
||||
interface d3DicHandlerInterface
|
||||
{
|
||||
|
@ -15,6 +15,9 @@
|
||||
|
||||
namespace D3\ModCfg\Application\Model\DependencyInjectionContainer;
|
||||
|
||||
use D3\DIContainerHandler\d3DicUtilities as externalDicUtilities;
|
||||
|
||||
/** @deprecated use D3\DIContainerHandler\d3DicUtilities */
|
||||
class d3DicUtilities
|
||||
{
|
||||
/**
|
||||
@ -24,10 +27,7 @@ class d3DicUtilities
|
||||
*/
|
||||
public static function getServiceId($classNameSpace, $additional = false)
|
||||
{
|
||||
return strtolower(
|
||||
($additional ? $additional.'.' : '').
|
||||
$classNameSpace
|
||||
);
|
||||
return externalDicUtilities::getServiceId( $classNameSpace, $additional);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -37,10 +37,6 @@ class d3DicUtilities
|
||||
*/
|
||||
public static function getArgumentId($classNamespace, $argumentName)
|
||||
{
|
||||
return strtolower(
|
||||
$classNamespace.
|
||||
'.args.' .
|
||||
$argumentName
|
||||
);
|
||||
return externalDicUtilities::getArgumentId($classNamespace, $argumentName);
|
||||
}
|
||||
}
|
||||
|
29
src/Application/Model/Exception/wrongModIdException.php
Normal file
29
src/Application/Model/Exception/wrongModIdException.php
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This Software is the property of Data Development and is protected
|
||||
* by copyright law - it is NOT Freeware.
|
||||
*
|
||||
* Any unauthorized use of this software without a valid license
|
||||
* is a violation of the license agreement and will be prosecuted by
|
||||
* civil and criminal law.
|
||||
*
|
||||
* https://www.d3data.de
|
||||
*
|
||||
* @copyright (C) D3 Data Development, Thomas Dartsch
|
||||
* @author D3 Data Development - Daniel Seifert <support@shopmodule.com>
|
||||
* @link http://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
namespace D3\ModCfg\Application\Model\Exception;
|
||||
|
||||
use OxidEsales\Eshop\Core\Exception\StandardException;
|
||||
|
||||
class wrongModIdException extends StandardException
|
||||
{
|
||||
public function __construct($sModId = "not set", $iCode = 0, \Exception $previous = null)
|
||||
{
|
||||
$sMessage = 'wrong or unknown module ID: '.$sModId;
|
||||
parent::__construct($sMessage, $iCode, $previous);
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -374,12 +374,6 @@ class d3log extends BaseModel implements d3LogInterface
|
||||
* @param bool $blDie
|
||||
*
|
||||
* @return d3log
|
||||
* @throws DBALException
|
||||
* @throws DatabaseConnectionException
|
||||
* @throws DatabaseErrorException
|
||||
* @throws StandardException
|
||||
* @throws d3ShopCompatibilityAdapterException
|
||||
* @throws d3_cfg_mod_exception
|
||||
*/
|
||||
public function log(
|
||||
$iLogType = d3LogLevel::EMERGENCY,
|
||||
@ -392,35 +386,43 @@ class d3log extends BaseModel implements d3LogInterface
|
||||
) {
|
||||
if ((bool) Registry::get( ConfigFile::class)->getVar( 'iDebug')) startProfile( __METHOD__);
|
||||
|
||||
$sSessID = Registry::getSession()->getId();
|
||||
$this->sModID ? $sModID = $this->sModID : $sModID = 'empty';
|
||||
$mText = is_string($mText) ? $mText : print_r($mText, true);
|
||||
//$this->sModID definiert den Namen des Moduls, das geloggt werden soll -> tabellenfeld oxmodid
|
||||
// Beide Objektwerte sollten immer nach der Objekterstellung nach 'oxNew' gesetzt werden
|
||||
try {
|
||||
$sSessID = Registry::getSession()->getId();
|
||||
$this->sModID ? $sModID = $this->sModID : $sModID = 'empty';
|
||||
$mText = is_string( $mText ) ? $mText : print_r( $mText, true );
|
||||
//$this->sModID definiert den Namen des Moduls, das geloggt werden soll -> tabellenfeld oxmodid
|
||||
// Beide Objektwerte sollten immer nach der Objekterstellung nach 'oxNew' gesetzt werden
|
||||
|
||||
if ($this->getErrorMode($iLogType)) {
|
||||
$this->setId();
|
||||
$aContent = array(
|
||||
'oxshopid' => Registry::getConfig()->getShopId(),
|
||||
'oxsessid' => $sSessID,
|
||||
'oxlogtype' => strtolower($this->getErrorModeName($iLogType)),
|
||||
'oxtime' => date('Y-m-d H:i:s'),
|
||||
'oxmodid' => $sModID,
|
||||
'oxprofileid' => $this->d3getProfileId() ? $this->d3getProfileId() : 'none',
|
||||
'oxclass' => $sClass,
|
||||
'oxfnc' => $sFnc,
|
||||
'oxline' => $iLine,
|
||||
'oxaction' => $sAction,
|
||||
'oxtext' => $mText,
|
||||
);
|
||||
if ( $this->getErrorMode( $iLogType ) ) {
|
||||
$this->setId();
|
||||
$aContent = array(
|
||||
'oxshopid' => Registry::getConfig()->getShopId(),
|
||||
'oxsessid' => $sSessID,
|
||||
'oxlogtype' => strtolower( $this->getErrorModeName( $iLogType ) ),
|
||||
'oxtime' => date( 'Y-m-d H:i:s' ),
|
||||
'oxmodid' => $sModID,
|
||||
'oxprofileid' => $this->d3getProfileId() ? $this->d3getProfileId() : 'none',
|
||||
'oxclass' => $sClass,
|
||||
'oxfnc' => $sFnc,
|
||||
'oxline' => $iLine,
|
||||
'oxaction' => $sAction,
|
||||
'oxtext' => $mText,
|
||||
);
|
||||
|
||||
$this->assign($aContent);
|
||||
$this->_insert();
|
||||
$this->_handleMailMessage();
|
||||
D3ModCfgRegistry::getInstance()->add($this);
|
||||
$this->assign( $aContent );
|
||||
$this->_insert();
|
||||
$this->_handleMailMessage();
|
||||
D3ModCfgRegistry::getInstance()->add( $this );
|
||||
}
|
||||
} catch (DBALException|DatabaseConnectionException|DatabaseErrorException|d3ShopCompatibilityAdapterException|d3_cfg_mod_exception $e) {
|
||||
Registry::getLogger()->error($e->getMessage(), [$e]);
|
||||
}
|
||||
|
||||
$this->_handleDie($mText, $blDie);
|
||||
try {
|
||||
$this->_handleDie( $mText, $blDie );
|
||||
} catch (StandardException $e) {
|
||||
Registry::getLogger()->error($e->getMessage(), [$e]);
|
||||
}
|
||||
|
||||
if ((bool) Registry::get( ConfigFile::class)->getVar( 'iDebug')) stopProfile( __METHOD__);
|
||||
|
||||
@ -435,12 +437,6 @@ class d3log extends BaseModel implements d3LogInterface
|
||||
* @param null $mText
|
||||
* @param bool $blDie
|
||||
* @return d3log
|
||||
* @throws DBALException
|
||||
* @throws DatabaseConnectionException
|
||||
* @throws DatabaseErrorException
|
||||
* @throws StandardException
|
||||
* @throws d3ShopCompatibilityAdapterException
|
||||
* @throws d3_cfg_mod_exception
|
||||
*/
|
||||
public function emergency($sClass = __CLASS__, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false)
|
||||
{
|
||||
@ -455,12 +451,6 @@ class d3log extends BaseModel implements d3LogInterface
|
||||
* @param null $mText
|
||||
* @param bool $blDie
|
||||
* @return d3log
|
||||
* @throws DBALException
|
||||
* @throws DatabaseConnectionException
|
||||
* @throws DatabaseErrorException
|
||||
* @throws StandardException
|
||||
* @throws d3ShopCompatibilityAdapterException
|
||||
* @throws d3_cfg_mod_exception
|
||||
*/
|
||||
public function alert($sClass = __CLASS__, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false)
|
||||
{
|
||||
@ -475,12 +465,6 @@ class d3log extends BaseModel implements d3LogInterface
|
||||
* @param null $mText
|
||||
* @param bool $blDie
|
||||
* @return d3log
|
||||
* @throws DBALException
|
||||
* @throws DatabaseConnectionException
|
||||
* @throws DatabaseErrorException
|
||||
* @throws StandardException
|
||||
* @throws d3ShopCompatibilityAdapterException
|
||||
* @throws d3_cfg_mod_exception
|
||||
*/
|
||||
public function critical($sClass = __CLASS__, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false)
|
||||
{
|
||||
@ -495,12 +479,6 @@ class d3log extends BaseModel implements d3LogInterface
|
||||
* @param null $mText
|
||||
* @param bool $blDie
|
||||
* @return d3log
|
||||
* @throws DBALException
|
||||
* @throws DatabaseConnectionException
|
||||
* @throws DatabaseErrorException
|
||||
* @throws StandardException
|
||||
* @throws d3ShopCompatibilityAdapterException
|
||||
* @throws d3_cfg_mod_exception
|
||||
*/
|
||||
public function error($sClass = __CLASS__, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false)
|
||||
{
|
||||
@ -515,12 +493,6 @@ class d3log extends BaseModel implements d3LogInterface
|
||||
* @param null $mText
|
||||
* @param bool $blDie
|
||||
* @return d3log
|
||||
* @throws DBALException
|
||||
* @throws DatabaseConnectionException
|
||||
* @throws DatabaseErrorException
|
||||
* @throws StandardException
|
||||
* @throws d3ShopCompatibilityAdapterException
|
||||
* @throws d3_cfg_mod_exception
|
||||
*/
|
||||
public function warning($sClass = __CLASS__, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false)
|
||||
{
|
||||
@ -535,12 +507,6 @@ class d3log extends BaseModel implements d3LogInterface
|
||||
* @param null $mText
|
||||
* @param bool $blDie
|
||||
* @return d3log
|
||||
* @throws DBALException
|
||||
* @throws DatabaseConnectionException
|
||||
* @throws DatabaseErrorException
|
||||
* @throws StandardException
|
||||
* @throws d3ShopCompatibilityAdapterException
|
||||
* @throws d3_cfg_mod_exception
|
||||
*/
|
||||
public function notice($sClass = __CLASS__, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false)
|
||||
{
|
||||
@ -550,17 +516,12 @@ class d3log extends BaseModel implements d3LogInterface
|
||||
/**
|
||||
* @param string $sClass
|
||||
* @param string $sFnc
|
||||
* @param int $iLine
|
||||
* @param null $sAction
|
||||
* @param null $mText
|
||||
* @param bool $blDie
|
||||
* @param int $iLine
|
||||
* @param null $sAction
|
||||
* @param null $mText
|
||||
* @param bool $blDie
|
||||
*
|
||||
* @return d3log
|
||||
* @throws DBALException
|
||||
* @throws DatabaseConnectionException
|
||||
* @throws DatabaseErrorException
|
||||
* @throws StandardException
|
||||
* @throws d3ShopCompatibilityAdapterException
|
||||
* @throws d3_cfg_mod_exception
|
||||
*/
|
||||
public function info($sClass = __CLASS__, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false)
|
||||
{
|
||||
@ -575,12 +536,6 @@ class d3log extends BaseModel implements d3LogInterface
|
||||
* @param null $mText
|
||||
* @param bool $blDie
|
||||
* @return d3log
|
||||
* @throws DBALException
|
||||
* @throws DatabaseConnectionException
|
||||
* @throws DatabaseErrorException
|
||||
* @throws StandardException
|
||||
* @throws d3ShopCompatibilityAdapterException
|
||||
* @throws d3_cfg_mod_exception
|
||||
*/
|
||||
public function debug($sClass = __CLASS__, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false)
|
||||
{
|
||||
@ -595,12 +550,6 @@ class d3log extends BaseModel implements d3LogInterface
|
||||
* @param null $mText
|
||||
* @param bool $blDie
|
||||
* @return d3log
|
||||
* @throws DBALException
|
||||
* @throws DatabaseConnectionException
|
||||
* @throws DatabaseErrorException
|
||||
* @throws StandardException
|
||||
* @throws d3ShopCompatibilityAdapterException
|
||||
* @throws d3_cfg_mod_exception
|
||||
*/
|
||||
public function test($sClass = __CLASS__, $sFnc = __FUNCTION__, $iLine = __LINE__, $sAction = null, $mText = null, $blDie = false)
|
||||
{
|
||||
@ -662,6 +611,11 @@ class d3log extends BaseModel implements d3LogInterface
|
||||
{
|
||||
unset($oSet);
|
||||
|
||||
if (is_int($sStatus)) {
|
||||
$flipped = array_flip($this->aLogTypes);
|
||||
$sStatus = $flipped[$sStatus];
|
||||
}
|
||||
|
||||
if ($this->getLogSet()->getValue('blLog_useExtendedLogging')) {
|
||||
return $this->_getLogStatusExtended($sStatus);
|
||||
} else {
|
||||
@ -1392,7 +1346,9 @@ class d3log extends BaseModel implements d3LogInterface
|
||||
public function d3logShutDown()
|
||||
{
|
||||
$aError = error_get_last();
|
||||
$this->d3logError($aError['type'], $aError['message'], $aError['file'], $aError['line']);
|
||||
if (is_array($aError) && isset($aError['message'])) {
|
||||
$this->d3logError($aError['type'], $aError['message'], $aError['file'], $aError['line']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user