diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2003-08-13 16:56:01 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2003-08-13 16:56:01 +0000 |
| commit | c0551af8517463858948c52a8c602a25b58ab9ce (patch) | |
| tree | 72738e2782d34c9d029e683930098d8e046f8c44 /phpBB/install | |
| parent | e46f4cb50550bd00ad9dfd64090884c764877737 (diff) | |
| download | forums-c0551af8517463858948c52a8c602a25b58ab9ce.tar forums-c0551af8517463858948c52a8c602a25b58ab9ce.tar.gz forums-c0551af8517463858948c52a8c602a25b58ab9ce.tar.bz2 forums-c0551af8517463858948c52a8c602a25b58ab9ce.tar.xz forums-c0551af8517463858948c52a8c602a25b58ab9ce.zip | |
bye bye forbidden extensions... we have a deny,allow rule for extensions, forbidden extensions are therefore a little bit redundant.
git-svn-id: file:///svn/phpbb/trunk@4400 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
| -rw-r--r-- | phpBB/install/schemas/firebird_schema.sql | 17 | ||||
| -rw-r--r-- | phpBB/install/schemas/mysql_schema.sql | 7 | ||||
| -rw-r--r-- | phpBB/install/schemas/schema_data.sql | 16 | ||||
| -rw-r--r-- | phpBB/install/schemas/sqlite_schema.sql | 7 |
4 files changed, 0 insertions, 47 deletions
diff --git a/phpBB/install/schemas/firebird_schema.sql b/phpBB/install/schemas/firebird_schema.sql index 0e1c82d18b..6e0deb02ff 100644 --- a/phpBB/install/schemas/firebird_schema.sql +++ b/phpBB/install/schemas/firebird_schema.sql @@ -216,23 +216,6 @@ CREATE TRIGGER phpbb_extension_groups_trig NEW.group_id = GEN_ID(phpbb_extension_groups_gen, 1)| END; -# Table: 'phpbb_forbidden_extensions' -CREATE TABLE phpbb_forbidden_extensions ( - extension_id INTEGER NOT NULL, - extension VARCHAR(100) NOT NULL, - PRIMARY KEY (extension_id) -); - -CREATE GENERATOR phpbb_forbidden_extensions_gen; -SET GENERATOR phpbb_forbidden_extensions_gen TO 0; - -CREATE TRIGGER phpbb_forbidden_extensions_trig - FOR phpbb_forbidden_extensions BEFORE INSERT - AS BEGIN - IF (NEW.extension_id IS NULL) THEN - NEW.extension_id = GEN_ID(phpbb_forbidden_extensions_gen, 1)| - END; - # Table: 'phpbb_forums' CREATE TABLE phpbb_forums ( forum_id SMALLINT NOT NULL, diff --git a/phpBB/install/schemas/mysql_schema.sql b/phpBB/install/schemas/mysql_schema.sql index 6e8c78107d..fcabd12a19 100644 --- a/phpBB/install/schemas/mysql_schema.sql +++ b/phpBB/install/schemas/mysql_schema.sql @@ -141,13 +141,6 @@ CREATE TABLE phpbb_extension_groups ( PRIMARY KEY (group_id) ); -# Table: 'phpbb_forbidden_extensions' -CREATE TABLE phpbb_forbidden_extensions ( - extension_id mediumint(8) UNSIGNED NOT NULL auto_increment, - extension varchar(100) NOT NULL, - PRIMARY KEY (extension_id) -); - # Table: 'phpbb_forums' CREATE TABLE phpbb_forums ( forum_id smallint(5) UNSIGNED NOT NULL auto_increment, diff --git a/phpBB/install/schemas/schema_data.sql b/phpBB/install/schemas/schema_data.sql index eb068bc3ad..715ef1909b 100644 --- a/phpBB/install/schemas/schema_data.sql +++ b/phpBB/install/schemas/schema_data.sql @@ -481,22 +481,6 @@ INSERT INTO phpbb_reports_reasons (reason_id, reason_priority, reason_name, reas # MSSQL IDENTITY phpbb_reports_reasons OFF # - -# MSSQL IDENTITY phpbb_forbidden_extensions ON # - -# -- forbidden_extensions -INSERT INTO phpbb_forbidden_extensions (extension_id, extension) VALUES (1, 'php'); -INSERT INTO phpbb_forbidden_extensions (extension_id, extension) VALUES (2, 'php3'); -INSERT INTO phpbb_forbidden_extensions (extension_id, extension) VALUES (3, 'php4'); -INSERT INTO phpbb_forbidden_extensions (extension_id, extension) VALUES (4, 'phtml'); -INSERT INTO phpbb_forbidden_extensions (extension_id, extension) VALUES (5, 'pl'); -INSERT INTO phpbb_forbidden_extensions (extension_id, extension) VALUES (6, 'asp'); -INSERT INTO phpbb_forbidden_extensions (extension_id, extension) VALUES (7, 'cgi'); -INSERT INTO phpbb_forbidden_extensions (extension_id, extension) VALUES (8, 'aspx'); - -# MSSQL IDENTITY phpbb_forbidden_extensions OFF # - - # MSSQL IDENTITY phpbb_extension_groups ON # # -- extension_groups diff --git a/phpBB/install/schemas/sqlite_schema.sql b/phpBB/install/schemas/sqlite_schema.sql index 92b5359f94..067d60ea06 100644 --- a/phpBB/install/schemas/sqlite_schema.sql +++ b/phpBB/install/schemas/sqlite_schema.sql @@ -130,13 +130,6 @@ CREATE TABLE phpbb_extension_groups ( PRIMARY KEY (group_id) ); --- Table: 'phpbb_forbidden_extensions' -CREATE TABLE phpbb_forbidden_extensions ( - extension_id INTEGER NOT NULL, - extension VARCHAR(100) NOT NULL, - PRIMARY KEY (extension_id) -); - -- Table: 'phpbb_forums' CREATE TABLE phpbb_forums ( forum_id INTEGER NOT NULL, |
