summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-01-02 22:21:53 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-01-02 22:21:53 +1100
commit69956021fc50d904d4050378543524a3e2e0b4e0 (patch)
tree83c15d607175bf1ff7f10b4e5dda8eb4aad2edae /install.php
parentbcda984255b5168cd0460364c863c083e08d9ad0 (diff)
Locked field in database
Diffstat (limited to 'install.php')
-rw-r--r--install.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/install.php b/install.php
index 6333c281..fb171397 100644
--- a/install.php
+++ b/install.php
@@ -32,7 +32,12 @@ $default_values = array(
array(
'name' => 'DB_TYPE',
'html' => 'dropdown',
- 'values' => array('mysql'=>'MySQL'),
+ 'values' => array(
+ 'mysql' => 'MySQL',
+ 'dblib' => 'FreeTDS / Microsoft SQL Server / Sybase',
+ 'pgsql' => 'PostgreSQL',
+ 'sqlite' => 'SQLite'
+ ),
'comment' => 'Database engine:'
),
array(
@@ -243,6 +248,7 @@ $sql = array(
`password` varchar(20) DEFAULT NULL,
`ip` varchar(15) NOT NULL,
`sticky` int(1) NOT NULL,
+ `locked` int(1) NOT NULL,
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;',
'CREATE TABLE IF NOT EXISTS `mods` (
@@ -290,7 +296,7 @@ if (isset($_POST['submit'])) {
require 'inc/functions.php';
require 'inc/display.php';
require 'inc/instance-config.php';
- require 'inc/config.php';
+ //require 'inc/config.php';
require 'inc/template.php';
require 'inc/database.php';