Refactored code and documentation
This commit is contained in:
parent
3d8b1b68a0
commit
fcf1d73862
2 changed files with 4 additions and 4 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue