aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-04-01 12:39:34 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-04-01 12:39:34 +0000
commite7fcb3625ed5763c50861a64e3a00ee6f86f41e5 (patch)
tree89749d327eb9f17f93fb026d03bcd0e612e57d29 /phpBB/install
parent060a00a8244f59b6169a0252206f07ee8c03c7ae (diff)
downloadforums-e7fcb3625ed5763c50861a64e3a00ee6f86f41e5.tar
forums-e7fcb3625ed5763c50861a64e3a00ee6f86f41e5.tar.gz
forums-e7fcb3625ed5763c50861a64e3a00ee6f86f41e5.tar.bz2
forums-e7fcb3625ed5763c50861a64e3a00ee6f86f41e5.tar.xz
forums-e7fcb3625ed5763c50861a64e3a00ee6f86f41e5.zip
- PostgreSQL can now use schemas. During install, under database name, enter databasename.schema
- phpversion() to PHP_VERSION git-svn-id: file:///svn/phpbb/trunk@7255 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rwxr-xr-xphpBB/install/index.php4
-rwxr-xr-xphpBB/install/install_install.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php
index e721e90bf6..26f8008f4c 100755
--- a/phpBB/install/index.php
+++ b/phpBB/install/index.php
@@ -22,7 +22,7 @@ $phpEx = substr(strrchr(__FILE__, '.'), 1);
error_reporting(E_ALL ^ E_NOTICE);
// @todo Review this test and see if we can find out what it is which prevents PHP 4.2.x from even displaying the page with requirements on it
-if (version_compare(phpversion(), '4.3.3') < 0)
+if (version_compare(PHP_VERSION, '4.3.3') < 0)
{
die('You are running an unsupported PHP version. Please upgrade to PHP 4.3.3 or higher before trying to install phpBB 3.0');
}
@@ -82,7 +82,7 @@ function deregister_globals()
}
// If we are on PHP >= 6.0.0 we do not need some code
-if (version_compare(phpversion(), '6.0.0-dev', '>='))
+if (version_compare(PHP_VERSION, '6.0.0-dev', '>='))
{
/**
* @ignore
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php
index eeb0bd8491..06c360d20c 100755
--- a/phpBB/install/install_install.php
+++ b/phpBB/install/install_install.php
@@ -138,7 +138,7 @@ class install_install extends module
));
// Test the minimum PHP version
- $php_version = phpversion();
+ $php_version = PHP_VERSION;
if (version_compare($php_version, '4.3.3') < 0)
{