mirror of
https://github.com/processwire/processwire.git
synced 2025-08-17 20:11:46 +02:00
Typo fixes per processwire/processwire-issues#797
This commit is contained in:
@@ -83,7 +83,7 @@ class WireArray extends Wire implements \IteratorAggregate, \ArrayAccess, \Count
|
|||||||
protected $duplicateChecking = true;
|
protected $duplicateChecking = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Flags for PHP sort functdions
|
* Flags for PHP sort functions
|
||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
*
|
*
|
||||||
|
@@ -1141,14 +1141,14 @@ class ProcessModule extends Process {
|
|||||||
/**********************************************************************************************************************************************************/
|
/**********************************************************************************************************************************************************/
|
||||||
|
|
||||||
public function ___executeUpload($inputName = '') {
|
public function ___executeUpload($inputName = '') {
|
||||||
if(!$inputName) throw new WireException("This URL may be be accessed directly");
|
if(!$inputName) throw new WireException("This URL may not be accessed directly");
|
||||||
$install = $this->wire(new ProcessModuleInstall());
|
$install = $this->wire(new ProcessModuleInstall());
|
||||||
$install->uploadModule($inputName);
|
$install->uploadModule($inputName);
|
||||||
$this->session->redirect('./?reset=1');
|
$this->session->redirect('./?reset=1');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function ___executeDownloadURL($url = '') {
|
public function ___executeDownloadURL($url = '') {
|
||||||
if(!$url) throw new WireException("This URL may be be accessed directly");
|
if(!$url) throw new WireException("This URL may not be accessed directly");
|
||||||
$install = $this->wire(new ProcessModuleInstall());
|
$install = $this->wire(new ProcessModuleInstall());
|
||||||
$install->downloadModule($url);
|
$install->downloadModule($url);
|
||||||
$this->session->redirect('./?reset=1');
|
$this->session->redirect('./?reset=1');
|
||||||
|
Reference in New Issue
Block a user