- Timestamp:
- 04/07/08 14:52:23 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
modules/sapphire/branches/roa/core/control/RequestHandlingData.php
r53655 r57404 76 76 if(isset($_REQUEST['debug_request'])) Debug::message("Testing '$rule' with '" . $request->remaining() . "' on $this->class"); 77 77 if($params = $request->match($rule, true)) { 78 if(isset($_REQUEST['debug_request'])) Debug::message("Rule '$rule' matched on $this->class");78 if(isset($_REQUEST['debug_request'])) Debug::message("Rule '$rule' matched to action '$action' on $this->class"); 79 79 80 80 // Actions can reference URL parameters, eg, '$Action/$ID/$OtherID' => '$Action', … … 85 85 } else { 86 86 return $this->httpError(403, "Action '$action' isn't allowed on class $this->class"); 87 } 88 89 if($result instanceof HTTPResponse && $result->isError()) { 90 if(isset($_REQUEST['debug_request'])) Debug::message("Rule resulted in HTTP error; breaking"); 91 return $result; 87 92 } 88 93
