projects
/
acontent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3992c05
)
Bypass the php error from file_get_contents() when the release tag branch does not...
author
Cindy Li
<cli@ocad.ca>
Mon, 9 Aug 2010 19:14:41 +0000
(19:14 -0000)
committer
Cindy Li
<cli@ocad.ca>
Mon, 9 Aug 2010 19:14:41 +0000
(19:14 -0000)
docs/updater/classes/Patch.class.php
patch
|
blob
|
history
diff --git
a/docs/updater/classes/Patch.class.php
b/docs/updater/classes/Patch.class.php
index
fa52c6e
..
701f23a
100644
(file)
--- a/
docs/updater/classes/Patch.class.php
+++ b/
docs/updater/classes/Patch.class.php
@@
-457,7
+457,7
@@
class Patch {
$local_file = $folder.$file;
// if svn script does not exist, consider the script is modified
- if (!file_get_contents($svn_file)) return true;
+ if (!
@
file_get_contents($svn_file)) return true;
// check if the local file has been modified by user. if it is, don't overwrite
if ($this->compareFiles($svn_file, $local_file) <> 0 && $this->patchesFilesDAO->getNumOfUpdatesOnFile($file) == 0)