openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 438a06fe9a09d6b2c40fe0c326fc9e90183eb41d
parent c6d7c8b514019d678e260b804b1da690dbdb72e5
Author: dankert <devnull@localhost>
Date:   Sun, 25 Oct 2009 00:02:53 +0200

An temporäre Datei nicht anhängen, sondern neu erzeugen.

Diffstat:
serviceClasses/Code.class.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/serviceClasses/Code.class.php b/serviceClasses/Code.class.php @@ -42,7 +42,7 @@ class Code extends Dynamic $tmp = Object::getTempDir().'/openratDynamic'; $tmp .= '.code.php.tmp'; - $f = fopen( $tmp,'a' ); + $f = fopen( $tmp,'w' ); fwrite( $f,$this->code ); fclose( $f );