mikuli.cz

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

commit edc9424c6deb4c41a9b5aec4819b1f549d9f0d57
parent 1050919f52374874b75a3ea5494d44ada1c574a5
Author: markseu <mark2011@mayberg.se>
Date:   Fri,  7 Jul 2017 15:53:35 +0200

System update (better error message)

Diffstat:
Msystem/plugins/image.php | 4++--
Msystem/plugins/update.php | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/system/plugins/image.php b/system/plugins/image.php @@ -5,7 +5,7 @@ class YellowImage { - const VERSION = "0.7.2"; + const VERSION = "0.7.3"; var $yellow; //access to API var $graphicsLibrary; //graphics library support? (boolean) @@ -104,7 +104,7 @@ class YellowImage if(!$this->saveImage($image, $fileNameOutput, $type) || !$this->yellow->toolbox->modifyFile($fileNameOutput, $this->yellow->toolbox->getFileModified($fileName))) { - $this->yellow->page->error(500, "Image '$fileNameOutput' can't be saved!"); + $this->yellow->page->error(500, "Can't write file '$fileNameOutput'!"); } } $src = $this->yellow->config->get("serverBase").$this->yellow->config->get("imageThumbnailLocation").$fileNameThumb; diff --git a/system/plugins/update.php b/system/plugins/update.php @@ -5,7 +5,7 @@ class YellowUpdate { - const VERSION = "0.7.3"; + const VERSION = "0.7.4"; var $yellow; //access to API var $updates; //number of updates @@ -412,7 +412,7 @@ class YellowUpdate !$this->yellow->toolbox->modifyFile($fileName, $modified)) { $statusCode = 500; - $this->yellow->page->error($statusCode, "Can't update file '$fileName'!"); + $this->yellow->page->error($statusCode, "Can't write file '$fileName'!"); } } if($delete)