cvs: pear /Config/Config/Container phpIniFile.php

From: Date: Sun, 16 Jun 2002 15:25:34 +0000
Subject: cvs: pear /Config/Config/Container phpIniFile.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-4652@lists.php.net to get a copy of this message
alan_k Sun Jun 16 11:25:34 2002 EDT Modified files: /pear/Config/Config/Container phpIniFile.php Log: Some code looks really dumb when you commit to CVS :) Index: pear/Config/Config/Container/phpIniFile.php diff -u pear/Config/Config/Container/phpIniFile.php:1.1 pear/Config/Config/Container/phpIniFile.php:1.2 --- pear/Config/Config/Container/phpIniFile.php:1.1 Sun Jun 16 11:22:33 2002 +++ pear/Config/Config/Container/phpIniFile.php Sun Jun 16 11:25:34 2002 @@ -15,7 +15,7 @@ // | Authors: Alan Knowles <alan@akbkhome.com> | // +----------------------------------------------------------------------+ // -// $Id: phpIniFile.php,v 1.1 2002/06/16 15:22:33 alan_k Exp $ +// $Id: phpIniFile.php,v 1.2 2002/06/16 15:25:34 alan_k Exp $ require_once( "Config/Container.php" ) ; @@ -30,7 +30,7 @@ * * @author Alan Knowles <alan@akbkhome.com> * @access public -* @version $Id: phpIniFile.php,v 1.1 2002/06/16 15:22:33 alan_k Exp $ +* @version $Id: phpIniFile.php,v 1.2 2002/06/16 15:25:34 alan_k Exp $ * @package Config */ @@ -84,8 +84,7 @@ foreach($array as $block => $items) { if (!$items) continue; - foreach ($items as $key => $value) - $this->data['/'.$block][$key] = $value; + $this->data['/'.$block] = $items; }

« previous php.pear.cvs (#4652) next »