1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-16 11:44:42 +02:00
This commit is contained in:
Ryan Cramer
2019-04-09 06:16:13 -04:00
parent 3bed484c80
commit 612d886dd8
2 changed files with 3 additions and 3 deletions

View File

@@ -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
*

View File

@@ -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');