Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
commented run.php a little
[wfpl.git]
/
file.php
diff --git
a/file.php
b/file.php
index
3660397
..
9d9965e
100644
(file)
--- a/
file.php
+++ b/
file.php
@@
-41,4
+41,11
@@
function write_whole_file($name, $data) {
fclose($fd);
}
+function read_whole_file_or_false($name) {
+ if(!file_exists($name)) {
+ return false;
+ }
+ return read_whole_file($name);
+}
+
?>