aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-06-19 23:12:21 +0200
committerAndreas Fischer <bantu@phpbb.com>2011-06-19 23:12:21 +0200
commit1320bb7bf84c393a6a3821326a6444a3ce94640f (patch)
treeecea3cec3ea75740c34d3051662aed447b56be25 /phpBB
parentee2d4f627ae5398dadf64288128e928bf05fc7af (diff)
parent6a4ca8cad9bc6602ec3a5b0041cf619fc8aebaff (diff)
downloadforums-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')
-rw-r--r--phpBB/install/database_update.php26
-rw-r--r--phpBB/install/index.php26
2 files changed, 26 insertions, 26 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);
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);