From 67fde80fbbfc219352ad19124446bb63451306eb Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Sun, 19 Jun 2011 23:02:59 +0200 Subject: [PATCH] [ticket/10223] Replace spaces with tabs PHPBB3-10223 --- phpBB/install/database_update.php | 22 +++++++++++----------- phpBB/install/index.php | 22 +++++++++++----------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 337f08b626..e0901eedb1 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -36,19 +36,19 @@ $phpEx = substr(strrchr(__FILE__, '.'), 1); function phpbb_require_updated($path, $optional = false) { - global $phpbb_root_path; + global $phpbb_root_path; - $new_path = $phpbb_root_path . 'install/update/new/' . $path; - $old_path = $phpbb_root_path . $path; + $new_path = $phpbb_root_path . 'install/update/new/' . $path; + $old_path = $phpbb_root_path . $path; - if (file_exists($new_path)) - { - require($new_path); - } - else if (!$optional || file_exists($old_path)) - { - require($old_path); - } + if (file_exists($new_path)) + { + require($new_path); + } + else if (!$optional || file_exists($old_path)) + { + require($old_path); + } } phpbb_require_updated('includes/startup.' . $phpEx); diff --git a/phpBB/install/index.php b/phpBB/install/index.php index 5189cbfc8e..f534980389 100644 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -26,19 +26,19 @@ if (version_compare(PHP_VERSION, '4.3.3') < 0) function phpbb_require_updated($path, $optional = false) { - global $phpbb_root_path; + global $phpbb_root_path; - $new_path = $phpbb_root_path . 'install/update/new/' . $path; - $old_path = $phpbb_root_path . $path; + $new_path = $phpbb_root_path . 'install/update/new/' . $path; + $old_path = $phpbb_root_path . $path; - if (file_exists($new_path)) - { - require($new_path); - } - else if (!$optional || file_exists($old_path)) - { - require($old_path); - } + if (file_exists($new_path)) + { + require($new_path); + } + else if (!$optional || file_exists($old_path)) + { + require($old_path); + } } phpbb_require_updated('includes/startup.' . $phpEx);