cvs: phpruntests /src/testcase/sections/executablesections rtFileExternalSection.php
| From: | Zoe Slattery | Date: | Sun, 17 May 2009 11:47:27 +0000 |
| Subject: | cvs: phpruntests /src/testcase/sections/executablesections rtFileExternalSection.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-57910@lists.php.net to get a copy of this message | ||
zoe Sun May 17 11:47:27 2009 UTC
Modified files:
/phpruntests/src/testcase/sections/executablesections
rtFileExternalSection.php
Log:
overriding writeExecutableFile
http://cvs.php.net/viewvc.cgi/phpruntests/src/testcase/sections/executablesections/rtFileExternalSection.php?r1=1.4&r2=1.5&diff_format=u
Index: phpruntests/src/testcase/sections/executablesections/rtFileExternalSection.php
diff -u phpruntests/src/testcase/sections/executablesections/rtFileExternalSection.php:1.4
phpruntests/src/testcase/sections/executablesections/rtFileExternalSection.php:1.5
--- phpruntests/src/testcase/sections/executablesections/rtFileExternalSection.php:1.4 Sun May 17
10:36:44 2009
+++ phpruntests/src/testcase/sections/executablesections/rtFileExternalSection.php Sun May 17
11:47:27 2009
@@ -52,5 +52,9 @@
return false;
}
+
+ public function writeExecutableFile() {
+ file_put_contents($this->fileName, (binary) $this->sectionContents[0]);
+ }
}
?>