mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
bugfixes
git-svn-id: file:///svn/phpbb/trunk@6275 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -247,7 +247,7 @@ class install_install extends module
|
||||
}
|
||||
|
||||
// Can we find Imagemagick anywhere on the system?
|
||||
$exe = ((defined('PHP_OS')) && (preg_match('#win#i', PHP_OS))) ? '.exe' : '';
|
||||
$exe = ((defined('PHP_OS')) && (preg_match('#^win#i', PHP_OS))) ? '.exe' : '';
|
||||
|
||||
$magic_home = getenv('MAGICK_HOME');
|
||||
$img_imagick = '';
|
||||
|
@@ -177,11 +177,11 @@ CREATE TABLE phpbb_bbcodes (
|
||||
bbcode_tag VARCHAR(16) DEFAULT '' NOT NULL,
|
||||
bbcode_helpline VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
display_on_posting INTEGER DEFAULT 0 NOT NULL,
|
||||
bbcode_match VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
bbcode_match BLOB SUB_TYPE TEXT DEFAULT '' NOT NULL,
|
||||
bbcode_tpl BLOB SUB_TYPE TEXT DEFAULT '' NOT NULL,
|
||||
first_pass_match VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
first_pass_replace VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
second_pass_match VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
first_pass_match BLOB SUB_TYPE TEXT DEFAULT '' NOT NULL,
|
||||
first_pass_replace BLOB SUB_TYPE TEXT DEFAULT '' NOT NULL,
|
||||
second_pass_match BLOB SUB_TYPE TEXT DEFAULT '' NOT NULL,
|
||||
second_pass_replace BLOB SUB_TYPE TEXT DEFAULT '' NOT NULL
|
||||
);;
|
||||
|
||||
|
@@ -202,11 +202,11 @@ CREATE TABLE [phpbb_bbcodes] (
|
||||
[bbcode_tag] [varchar] (16) DEFAULT ('') NOT NULL ,
|
||||
[bbcode_helpline] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||
[display_on_posting] [int] DEFAULT (0) NOT NULL ,
|
||||
[bbcode_match] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||
[bbcode_match] [varchar] (8000) DEFAULT ('') NOT NULL ,
|
||||
[bbcode_tpl] [text] DEFAULT ('') NOT NULL ,
|
||||
[first_pass_match] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||
[first_pass_replace] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||
[second_pass_match] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||
[first_pass_match] [text] DEFAULT ('') NOT NULL ,
|
||||
[first_pass_replace] [text] DEFAULT ('') NOT NULL ,
|
||||
[second_pass_match] [text] DEFAULT ('') NOT NULL ,
|
||||
[second_pass_replace] [text] DEFAULT ('') NOT NULL
|
||||
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
|
||||
GO
|
||||
|
@@ -112,11 +112,11 @@ CREATE TABLE phpbb_bbcodes (
|
||||
bbcode_tag varchar(16) DEFAULT '' NOT NULL,
|
||||
bbcode_helpline varchar(255) DEFAULT '' NOT NULL,
|
||||
display_on_posting tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
bbcode_match varchar(255) DEFAULT '' NOT NULL,
|
||||
bbcode_match text DEFAULT '' NOT NULL,
|
||||
bbcode_tpl mediumtext DEFAULT '' NOT NULL,
|
||||
first_pass_match varchar(255) DEFAULT '' NOT NULL,
|
||||
first_pass_replace varchar(255) DEFAULT '' NOT NULL,
|
||||
second_pass_match varchar(255) DEFAULT '' NOT NULL,
|
||||
first_pass_match mediumtext DEFAULT '' NOT NULL,
|
||||
first_pass_replace mediumtext DEFAULT '' NOT NULL,
|
||||
second_pass_match mediumtext DEFAULT '' NOT NULL,
|
||||
second_pass_replace mediumtext DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY (bbcode_id),
|
||||
KEY display_on_post (display_on_posting)
|
||||
|
@@ -253,11 +253,11 @@ CREATE TABLE phpbb_bbcodes (
|
||||
bbcode_tag varchar2(16) DEFAULT '' ,
|
||||
bbcode_helpline varchar2(255) DEFAULT '' ,
|
||||
display_on_posting number(1) DEFAULT '0' NOT NULL,
|
||||
bbcode_match varchar2(255) DEFAULT '' ,
|
||||
bbcode_match clob DEFAULT '' ,
|
||||
bbcode_tpl clob DEFAULT '' ,
|
||||
first_pass_match varchar2(255) DEFAULT '' ,
|
||||
first_pass_replace varchar2(255) DEFAULT '' ,
|
||||
second_pass_match varchar2(255) DEFAULT '' ,
|
||||
first_pass_match clob DEFAULT '' ,
|
||||
first_pass_replace clob DEFAULT '' ,
|
||||
second_pass_match clob DEFAULT '' ,
|
||||
second_pass_replace clob DEFAULT '' ,
|
||||
CONSTRAINT pk_phpbb_bbcodes PRIMARY KEY (bbcode_id)
|
||||
)
|
||||
|
@@ -214,11 +214,11 @@ CREATE TABLE phpbb_bbcodes (
|
||||
bbcode_tag varchar(16) DEFAULT '' NOT NULL,
|
||||
bbcode_helpline varchar(255) DEFAULT '' NOT NULL,
|
||||
display_on_posting INT2 DEFAULT '0' NOT NULL CHECK (display_on_posting >= 0),
|
||||
bbcode_match varchar(255) DEFAULT '' NOT NULL,
|
||||
bbcode_match varchar(8000) DEFAULT '' NOT NULL,
|
||||
bbcode_tpl TEXT DEFAULT '' NOT NULL,
|
||||
first_pass_match varchar(255) DEFAULT '' NOT NULL,
|
||||
first_pass_replace varchar(255) DEFAULT '' NOT NULL,
|
||||
second_pass_match varchar(255) DEFAULT '' NOT NULL,
|
||||
first_pass_match TEXT DEFAULT '' NOT NULL,
|
||||
first_pass_replace TEXT DEFAULT '' NOT NULL,
|
||||
second_pass_match TEXT DEFAULT '' NOT NULL,
|
||||
second_pass_replace TEXT DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY (bbcode_id)
|
||||
);
|
||||
|
@@ -205,7 +205,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('topics_per_page',
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('tpl_allow_php', '0');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('upload_icons_path', 'images/upload_icons');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('upload_path', 'files');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '3.0.B1');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '3.0.B2');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_expire_days', '90');
|
||||
INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_gc', '14400');
|
||||
|
||||
|
@@ -110,11 +110,11 @@ CREATE TABLE phpbb_bbcodes (
|
||||
bbcode_tag varchar(16) NOT NULL DEFAULT '',
|
||||
bbcode_helpline varchar(255) NOT NULL DEFAULT '',
|
||||
display_on_posting INTEGER UNSIGNED NOT NULL DEFAULT '0',
|
||||
bbcode_match varchar(255) NOT NULL DEFAULT '',
|
||||
bbcode_match text(65535) NOT NULL DEFAULT '',
|
||||
bbcode_tpl mediumtext(16777215) NOT NULL DEFAULT '',
|
||||
first_pass_match varchar(255) NOT NULL DEFAULT '',
|
||||
first_pass_replace varchar(255) NOT NULL DEFAULT '',
|
||||
second_pass_match varchar(255) NOT NULL DEFAULT '',
|
||||
first_pass_match mediumtext(16777215) NOT NULL DEFAULT '',
|
||||
first_pass_replace mediumtext(16777215) NOT NULL DEFAULT '',
|
||||
second_pass_match mediumtext(16777215) NOT NULL DEFAULT '',
|
||||
second_pass_replace mediumtext(16777215) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (bbcode_id)
|
||||
);
|
||||
|
Reference in New Issue
Block a user