diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2011-06-19 23:12:21 +0200 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2011-06-19 23:12:21 +0200 |
| commit | 1320bb7bf84c393a6a3821326a6444a3ce94640f (patch) | |
| tree | ecea3cec3ea75740c34d3051662aed447b56be25 /phpBB/install/database_update.php | |
| parent | ee2d4f627ae5398dadf64288128e928bf05fc7af (diff) | |
| parent | 6a4ca8cad9bc6602ec3a5b0041cf619fc8aebaff (diff) | |
| download | forums-1320bb7bf84c393a6a3821326a6444a3ce94640f.tar forums-1320bb7bf84c393a6a3821326a6444a3ce94640f.tar.gz forums-1320bb7bf84c393a6a3821326a6444a3ce94640f.tar.bz2 forums-1320bb7bf84c393a6a3821326a6444a3ce94640f.tar.xz forums-1320bb7bf84c393a6a3821326a6444a3ce94640f.zip | |
Merge branch 'prep-release-3.0.9' into develop-olympus
* prep-release-3.0.9:
[ticket/10223] Replace spaces with tabs
Diffstat (limited to 'phpBB/install/database_update.php')
| -rw-r--r-- | phpBB/install/database_update.php | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 77f6214705..ec1a16339a 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); |
