svn: /pear2/Pyrus/trunk/src/Pyrus/ PluginRegistry.php
| From: | Brett Bieber | Date: | Thu, 03 Dec 2009 15:50:41 +0000 |
| Subject: | svn: /pear2/Pyrus/trunk/src/Pyrus/ PluginRegistry.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9065@lists.php.net to get a copy of this message | ||
saltybeagle Thu, 03 Dec 2009 15:50:41 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291658
Log:
Default the bin_dir for plugins to the current configuration bin_dir.
Changed paths:
U pear2/Pyrus/trunk/src/Pyrus/PluginRegistry.php
Modified: pear2/Pyrus/trunk/src/Pyrus/PluginRegistry.php
===================================================================
--- pear2/Pyrus/trunk/src/Pyrus/PluginRegistry.php 2009-12-03 15:24:43 UTC (rev 291657)
+++ pear2/Pyrus/trunk/src/Pyrus/PluginRegistry.php 2009-12-03 15:50:41 UTC (rev 291658)
@@ -44,6 +44,7 @@
}
$current = \pear2\Pyrus\Config::current();
self::$config = \pear2\Pyrus\Config::singleton($this->pluginRegistryPath);
+ self::$config->bin_dir = $current->bin_dir;
\pear2\Pyrus\Config::setCurrent($current->path);
parent::__construct($this->pluginRegistryPath, array('Sqlite3',
'Xml'));
}