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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user