1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-09 16:26:59 +02:00

Bump version to 3.0.174

This commit is contained in:
Ryan Cramer
2021-03-12 15:28:25 -05:00
parent 6fd72fc804
commit c77f2f0d63
2 changed files with 7 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ class ProcessWire extends Wire {
* Reversion revision number * Reversion revision number
* *
*/ */
const versionRevision = 173; const versionRevision = 174;
/** /**
* Version suffix string (when applicable) * Version suffix string (when applicable)

View File

@@ -311,7 +311,12 @@ class ProcessPageView extends Process {
if(!$hooks->hasPathHooks()) continue; if(!$hooks->hasPathHooks()) continue;
$this->setResponseType(self::responseTypePathHook); $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 // 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 // this makes it possible for ready() call to examine $event->return from init() call