mirror of
https://github.com/processwire/processwire.git
synced 2025-08-16 11:44:42 +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;
|
||||
|
||||
/**
|
||||
* Flags for PHP sort functdions
|
||||
* Flags for PHP sort functions
|
||||
*
|
||||
* @var int
|
||||
*
|
||||
|
@@ -1141,14 +1141,14 @@ class ProcessModule extends Process {
|
||||
/**********************************************************************************************************************************************************/
|
||||
|
||||
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->uploadModule($inputName);
|
||||
$this->session->redirect('./?reset=1');
|
||||
}
|
||||
|
||||
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->downloadModule($url);
|
||||
$this->session->redirect('./?reset=1');
|
||||
|
Reference in New Issue
Block a user