commit fcf1d7386275e62028b0e828e830075ae1e771f3
parent 3d8b1b68a06ef3c0cc85ad4215713a4cef06812a
Author: markseu <mark2011@mayberg.se>
Date: Fri, 20 May 2022 11:25:56 +0200
Refactored code and documentation
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/system/extensions/edit.php b/system/extensions/edit.php
@@ -2,7 +2,7 @@
// Edit extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/edit
class YellowEdit {
- const VERSION = "0.8.62";
+ const VERSION = "0.8.63";
public $yellow; // access to API
public $response; // web response
public $merge; // text merge
@@ -13,6 +13,7 @@ class YellowEdit {
$this->yellow = $yellow;
$this->response = new YellowEditResponse($yellow);
$this->merge = new YellowEditMerge($yellow);
+ $this->yellow->system->setDefault("editSiteEmail", "noreply");
$this->yellow->system->setDefault("editLocation", "/edit/");
$this->yellow->system->setDefault("editUploadNewLocation", "/media/@group/@filename");
$this->yellow->system->setDefault("editUploadExtensions", ".gif, .jpg, .mp3, .ogg, .pdf, .png, .svg, .zip");
@@ -28,7 +29,6 @@ class YellowEdit {
$this->yellow->system->setDefault("editLoginRestriction", "0");
$this->yellow->system->setDefault("editLoginSessionTimeout", "2592000");
$this->yellow->system->setDefault("editBruteForceProtection", "25");
- $this->yellow->system->setDefault("editSiteEmail", "noreply");
$this->yellow->language->setDefault("editMailFooter");
}
diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini
@@ -37,11 +37,11 @@ system/layouts/navigation.html: navigation.html, create, update, careful
system/layouts/pagination.html: pagination.html, create, update, careful
Extension: Edit
-Version: 0.8.62
+Version: 0.8.63
Description: Edit your website in a web browser.
DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/edit
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/edit.zip
-Published: 2022-05-19 20:43:36
+Published: 2022-05-20 11:14:14
Developer: Datenstrom
Tag: feature
system/extensions/edit.php: edit.php, create, update