-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change from forward to redirect and implement own exception to circum…
…vent core bug FIXES #66
- Loading branch information
Showing
2 changed files
with
25 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
class Hackathon_HoneySpam_Exception extends Mage_Core_Controller_Varien_Exception | ||
{ | ||
public function prepareRedirect($path, $arguments = []) | ||
{ | ||
$this->_resultCallback = self::RESULT_REDIRECT; | ||
$this->_resultCallbackParams = [$path, $arguments]; | ||
return $this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters