mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 08:17:12 +02:00
Bump version to 3.0.174
This commit is contained in:
@@ -79,7 +79,7 @@ class ProcessWire extends Wire {
|
||||
* Reversion revision number
|
||||
*
|
||||
*/
|
||||
const versionRevision = 173;
|
||||
const versionRevision = 174;
|
||||
|
||||
/**
|
||||
* Version suffix string (when applicable)
|
||||
|
@@ -311,7 +311,12 @@ class ProcessPageView extends Process {
|
||||
if(!$hooks->hasPathHooks()) continue;
|
||||
|
||||
$this->setResponseType(self::responseTypePathHook);
|
||||
$out = $this->pathHooks($requestPath, $out);
|
||||
|
||||
try {
|
||||
$out = $this->pathHooks($requestPath, $out);
|
||||
} catch(Wire404Exception $e) {
|
||||
$out = false;
|
||||
}
|
||||
|
||||
// allow for pathHooks() $event->return to persist between init and ready states
|
||||
// this makes it possible for ready() call to examine $event->return from init() call
|
||||
|
Reference in New Issue
Block a user