1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-12 09:44:38 +02:00

Update Modules/ProcessModules to skip showing configurable modules with no visible configuration fields. Plus a few other small additions.

This commit is contained in:
Ryan Cramer
2016-10-20 06:58:28 -04:00
parent 4a26b774bf
commit 4060934bae
18 changed files with 267 additions and 66 deletions

View File

@@ -954,6 +954,7 @@ class Session extends Wire implements \IteratorAggregate {
if(!strpos($url, 'modal=')) $url .= (strpos($url, '?') !== false ? '&' : '?') . 'modal=1';
}
}
$this->wire()->setStatus(ProcessWire::statusFinished);
if($http301) header("HTTP/1.1 301 Moved Permanently");
header("Location: $url");
exit(0);