aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-07-01 01:54:27 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-07-01 01:54:27 +0000
commitb02a8a2a1755de18bd3130dbba8909c8cd789bbe (patch)
tree826c8d18bcb9399d55e1710449904b7bff28168e /phpBB/install/install.php
parent35a926b66a65e964ac065ad99724ec1e59c29305 (diff)
downloadforums-b02a8a2a1755de18bd3130dbba8909c8cd789bbe.tar
forums-b02a8a2a1755de18bd3130dbba8909c8cd789bbe.tar.gz
forums-b02a8a2a1755de18bd3130dbba8909c8cd789bbe.tar.bz2
forums-b02a8a2a1755de18bd3130dbba8909c8cd789bbe.tar.xz
forums-b02a8a2a1755de18bd3130dbba8909c8cd789bbe.zip
SQLite support ... Probably helps if the installer supports it I guess ... I'm having one of those lifes, please excuse me.
git-svn-id: file:///svn/phpbb/trunk@4188 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install.php')
-rw-r--r--phpBB/install/install.php20
1 files changed, 14 insertions, 6 deletions
diff --git a/phpBB/install/install.php b/phpBB/install/install.php
index 5582a3af20..78d2c9b776 100644
--- a/phpBB/install/install.php
+++ b/phpBB/install/install.php
@@ -25,6 +25,7 @@ define('IN_PHPBB', true);
//error_reporting (E_ERROR | E_WARNING | E_PARSE);
set_magic_quotes_runtime(0);
+@set_time_limit(120);
// Include essential scripts
$phpbb_root_path = './../';
@@ -53,11 +54,11 @@ $cache = new acm();
// Try opening config file
if (@file_exists($phpbb_root_path . 'config.'.$phpEx))
{
- include($phpbb_root_path . 'config.'.$phpEx);
+// include($phpbb_root_path . 'config.'.$phpEx);
if (defined('PHPBB_INSTALLED'))
{
- redirect("../index.$phpEx");
+// redirect("../index.$phpEx");
}
}
@@ -93,16 +94,16 @@ $available_dbms = array(
'COMMENTS' => 'remove_remarks'
),
'mysql' => array(
- 'LABEL' => 'MySQL 3.x',
+ 'LABEL' => 'MySQL',
'SCHEMA' => 'mysql',
'MODULE' => 'mysql',
'DELIM' => ';',
'COMMENTS' => 'remove_remarks'
),
'mysql4' => array(
- 'LABEL' => 'MySQL 4.x',
+ 'LABEL' => 'MySQL 4.1.x',
'SCHEMA' => 'mysql',
- 'MODULE' => 'mysql',
+ 'MODULE' => 'mysqli',
'DELIM' => ';',
'COMMENTS' => 'remove_remarks'
),
@@ -141,6 +142,13 @@ $available_dbms = array(
'DELIM' => ';',
'COMMENTS' => 'remove_comments'
),
+ 'sqlite' => array(
+ 'LABEL' => 'SQLite',
+ 'SCHEMA' => 'sqlite',
+ 'MODULE' => 'sqlite',
+ 'DELIM' => ';',
+ 'COMMENTS' => 'remove_remarks'
+ ),
);
$suffix = ((defined('PHP_OS')) && (preg_match('#win#i', PHP_OS))) ? 'dll' : 'so';
@@ -405,7 +413,7 @@ if ($stage == 0)
foreach ($locations as $location)
{
- if (file_exists($location . 'convert' . $exe) && is_executable($location . 'convert' . $exe))
+ if (file_exists($location . 'convert' . $exe) && is_readable($location . 'convert' . $exe))
{
$img_imagick = str_replace('\\', '/', $location);
continue;