[pLog-svn] r901 - plog/trunk/class/config
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Mon Jan 31 17:52:08 GMT 2005
Author: oscar
Date: 2005-01-31 17:52:08 +0000 (Mon, 31 Jan 2005)
New Revision: 901
Modified:
plog/trunk/class/config/configfilestorage.class.php
Log:
fixed a little error in the API (make ConfigFileStorage obey the $param paramter where we can specify the name of the config file to load)
Modified: plog/trunk/class/config/configfilestorage.class.php
===================================================================
--- plog/trunk/class/config/configfilestorage.class.php 2005-01-31 15:25:31 UTC (rev 900)
+++ plog/trunk/class/config/configfilestorage.class.php 2005-01-31 17:52:08 UTC (rev 901)
@@ -34,7 +34,11 @@
{
$this->ConfigAbstractStorage( $params );
- $configFile = DEFAULT_CONFIG_FILE;
+ if( !isset($params["file"]))
+ $configFile = DEFAULT_CONFIG_FILE;
+ else
+ $configFile = $params["file"];
+
$this->_configFile = $configFile;
$this->reload();
More information about the pLog-svn
mailing list