aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-11-11 09:40:50 -0800
committerNathan Guse <nathaniel.guse@gmail.com>2013-11-11 09:40:50 -0800
commitd69f35d4507be98c384a0bb6232ebe08c36864c0 (patch)
tree37819371cfbcac3b4c836a7b035a947d0b4c9b07 /phpBB/install
parentcfb0a4103083c4787beca30671d16eede92bd571 (diff)
parent95348c8f6d64302d2d525f2ba1a9408f1510144b (diff)
downloadforums-d69f35d4507be98c384a0bb6232ebe08c36864c0.tar
forums-d69f35d4507be98c384a0bb6232ebe08c36864c0.tar.gz
forums-d69f35d4507be98c384a0bb6232ebe08c36864c0.tar.bz2
forums-d69f35d4507be98c384a0bb6232ebe08c36864c0.tar.xz
forums-d69f35d4507be98c384a0bb6232ebe08c36864c0.zip
Merge pull request #1853 from nickvergessen/ticket/11927
[ticket/11927] Correctly add new files on update
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/install_update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php
index b7b358ab2f..dc6e57c851 100644
--- a/phpBB/install/install_update.php
+++ b/phpBB/install/install_update.php
@@ -1311,7 +1311,7 @@ class install_update extends module
}
}*/
- if (file_exists($phpbb_root_path . dirname($file)) || (strpos($file, 'styles/') !== 0 && strpos($file, 'language/') !== 0))
+ if (!phpbb_ignore_new_file_on_update($phpbb_root_path, $file))
{
$this->get_custom_info($update_list['new'], $file);
$update_list['new'][] = array('filename' => $file, 'custom' => false);