diff options
| author | Nils Adermann <naderman@naderman.de> | 2011-06-19 23:02:59 +0200 |
|---|---|---|
| committer | Nils Adermann <naderman@naderman.de> | 2011-06-19 23:02:59 +0200 |
| commit | 67fde80fbbfc219352ad19124446bb63451306eb (patch) | |
| tree | 826917c82ccf2b7c5830cb56c0cecad9d74e1d4c | |
| parent | d3f1b6029248d20d4a3a4bc2f3684f8aad88559d (diff) | |
| download | forums-67fde80fbbfc219352ad19124446bb63451306eb.tar forums-67fde80fbbfc219352ad19124446bb63451306eb.tar.gz forums-67fde80fbbfc219352ad19124446bb63451306eb.tar.bz2 forums-67fde80fbbfc219352ad19124446bb63451306eb.tar.xz forums-67fde80fbbfc219352ad19124446bb63451306eb.zip | |
[ticket/10223] Replace spaces with tabs
PHPBB3-10223
| -rw-r--r-- | phpBB/install/database_update.php | 26 | ||||
| -rw-r--r-- | phpBB/install/index.php | 26 |
2 files changed, 26 insertions, 26 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; - - $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); - } + global $phpbb_root_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); + } } 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; - - $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); - } + global $phpbb_root_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); + } } phpbb_require_updated('includes/startup.' . $phpEx); |
