projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e95116
)
Need to put this in global scope
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 4 May 2010 16:33:25 +0000
(12:33 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 4 May 2010 16:36:40 +0000
(12:36 -0400)
No way to access the public driver property like this from application code.
jonah/lib/Application.php
patch
|
blob
|
history
diff --git
a/jonah/lib/Application.php
b/jonah/lib/Application.php
index
197da42
..
2535300
100644
(file)
--- a/
jonah/lib/Application.php
+++ b/
jonah/lib/Application.php
@@
-25,8
+25,6
@@
require_once HORDE_BASE . '/lib/core.php';
class Jonah_Application extends Horde_Registry_Application
{
public $version = 'H4 (1.0-git)';
-
- public $driver = null;
/**
* Initialization function.
@@
-35,7
+33,7
@@
class Jonah_Application extends Horde_Registry_Application
*/
protected function _init()
{
- $
this->driver
= Jonah_Driver::factory();
+ $
GLOBALS['jonah_driver']
= Jonah_Driver::factory();
}
/**