[configuration] feature?

From: Date: Mon, 22 Apr 2002 21:59:58 +0000
Subject: [configuration] feature?
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5726@lists.php.net to get a copy of this message
hi i`m analyzing configuration class code and in Config_Container_IniFile::writeInput i see: $fh = fopen( $datasrc, "w") ; //writing fclose( $fh) ; isn`t it a little bit risky? what if webserver crashes after opening the file - configuration is lost. i think it is better to create a temporary file - write everything to it and replace original config file with the new one. rash

« previous php.pear.dev (#5726) next »