1
0
Fork 0

should be || not OR

pull/8529/head
Жаков Виталий 2020-01-20 16:25:38 +05:00
parent 1e92780600
commit 48c7442b63
1 changed files with 1 additions and 1 deletions

View File

@ -1014,7 +1014,7 @@ INITIALIZER;
*/ */
protected function safeCopy($source, $target) protected function safeCopy($source, $target)
{ {
if (!file_exists($target) OR !file_exists($source) OR !$this->filesAreEqual($source, $target)) { if (!file_exists($target) || !file_exists($source) || !$this->filesAreEqual($source, $target)) {
$source = fopen($source, 'r'); $source = fopen($source, 'r');
$target = fopen($target, 'w+'); $target = fopen($target, 'w+');