mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-12 20:56:40 +02:00
Merge pull request #4055 from CHItA/ticket/14326
[ticket/14326] Decode diffed file's content during update
This commit is contained in:
@ -100,7 +100,7 @@ class show_file_status extends task_base
|
|||||||
{
|
{
|
||||||
$this->file_updater->create_new_file(
|
$this->file_updater->create_new_file(
|
||||||
$filename,
|
$filename,
|
||||||
$this->cache->get('_file_' . md5($filename)),
|
base64_decode($this->cache->get('_file_' . md5($filename))),
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -174,7 +174,7 @@ class update_files extends task_base
|
|||||||
case 'update_with_diff':
|
case 'update_with_diff':
|
||||||
$this->file_updater->update_file(
|
$this->file_updater->update_file(
|
||||||
$path,
|
$path,
|
||||||
$this->cache->get('_file_' . md5($path)),
|
base64_decode($this->cache->get('_file_' . md5($path))),
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user