mikuli.cz

:)
git clone https://git.sr.ht/~ashymad/mikuli.cz
Log | Files | Refs

commit 64b071c105365c5dfc42b40ce9700051860453e1
parent dae64c1d84799a634bf10cf5922f2cbe4417a4c2
Author: markseu <mark2011@mayberg.se>
Date:   Thu,  2 May 2024 17:43:32 +0200

Updated fatal error message

Diffstat:
Msystem/extensions/update-available.ini | 4++--
Msystem/extensions/yellow-extension.ini | 4++--
Msystem/workers/core.php | 4++--
3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/system/extensions/update-available.ini b/system/extensions/update-available.ini @@ -149,14 +149,14 @@ system/themes/copenhagen.css: copenhagen.css, create, update, careful system/themes/copenhagen.png: copenhagen.png, create Extension: Core -Version: 0.9.8 +Version: 0.9.9 Description: Core functionality of your website. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-core DocumentationLanguage: en, de, sv -Published: 2024-04-25 13:05:12 +Published: 2024-05-02 16:35:25 Status: available system/workers/core.php: core.php, create, update system/extensions/core.php: coreupdate.txt, update diff --git a/system/extensions/yellow-extension.ini b/system/extensions/yellow-extension.ini @@ -1,14 +1,14 @@ # Datenstrom Yellow extension settings Extension: Core -Version: 0.9.8 +Version: 0.9.9 Description: Core functionality of your website. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-core DocumentationLanguage: en, de, sv -Published: 2024-04-25 13:05:12 +Published: 2024-05-02 16:35:25 Status: available system/workers/core.php: core.php, create, update system/extensions/core.php: coreupdate.txt, update diff --git a/system/workers/core.php b/system/workers/core.php @@ -2,7 +2,7 @@ // Core extension, https://github.com/annaesvensson/yellow-core class YellowCore { - const VERSION = "0.9.8"; + const VERSION = "0.9.9"; const RELEASE = "0.9"; public $content; // content files public $media; // media files @@ -166,7 +166,7 @@ class YellowCore { if (!is_null($error) && isset($error["type"]) && ($error["type"]==E_ERROR || $error["type"]==E_PARSE)) { $fileNameAbsolute = isset($error["file"]) ? $error["file"] : ""; $fileName = substru($fileNameAbsolute, strlenu($this->system->get("coreServerInstallDirectory"))); - $this->toolbox->log("error", "Can't parse file '$fileName'!"); + $this->toolbox->log("error", "Process file '$fileName' with fatal error!"); $this->toolbox->sendHttpHeader($this->toolbox->getHttpStatusFormatted(500)); $troubleshooting = PHP_SAPI!="cli" ? "<a href=\"".$this->toolbox->getTroubleshootingUrl()."\">See troubleshooting</a>." : "See ".$this->toolbox->getTroubleshootingUrl();