File: phpbb/install/module/update_filesystem/task/update_files.php
Unmodified
Added
Modified
Removed
Line 172 | Line 172 |
---|
$this->file_updater->update_file($path, $new_path . $path); break; case 'update_with_diff':
|
$this->file_updater->update_file($path, $new_path . $path); break; case 'update_with_diff':
|
| $cache_diff_filename = '_file_' . md5($path); if ($this->cache->_exists($cache_diff_filename)) {
|
$this->file_updater->update_file( $path,
|
$this->file_updater->update_file( $path,
|
base64_decode($this->cache->get('_file_' . md5($path))),
| base64_decode($this->cache->get($cache_diff_filename)),
|
true );
|
true );
|
| }
|
break; }
| break; }
|