projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3a9710d
)
Set application instance first (to prevent a NPE in BaseRegistry)
author
Roland Häder
<roland@mxchange.org>
Tue, 22 Mar 2011 21:13:14 +0000
(21:13 +0000)
committer
Roland Häder
<roland@mxchange.org>
Tue, 22 Mar 2011 21:13:14 +0000
(21:13 +0000)
application/mailer/class_ApplicationHelper.php
patch
|
blob
|
history
diff --git
a/application/mailer/class_ApplicationHelper.php
b/application/mailer/class_ApplicationHelper.php
index 33864e8add4d5a3ff43eec403f53b5a18c57a639..386ad253841e05166aa2091ddf719cd7d5809c54 100644
(file)
--- a/
application/mailer/class_ApplicationHelper.php
+++ b/
application/mailer/class_ApplicationHelper.php
@@
-172,6
+172,9
@@
class ApplicationHelper extends BaseApplication implements ManageableApplication
* @return void
*/
public final function entryPoint () {
+ // Set this application in registry
+ Registry::getRegistry()->addInstance('app', $this);
+
// Create a new request object
$requestInstance = ObjectFactory::createObjectByName('HttpRequest');