mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
- fixed some bugs
- changed attachment handling a bit - tried to remove target tags out of the code - do not add session ids to urls for bots as well as not creating a new session on each page view for them I bet i introduced some bugs too. ;) git-svn-id: file:///svn/phpbb/trunk@6364 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -17,6 +17,7 @@ CREATE TABLE [phpbb_attachments] (
|
||||
[topic_id] [int] DEFAULT (0) NOT NULL ,
|
||||
[in_message] [int] DEFAULT (0) NOT NULL ,
|
||||
[poster_id] [int] DEFAULT (0) NOT NULL ,
|
||||
[is_orphan] [int] DEFAULT (1) NOT NULL ,
|
||||
[physical_filename] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||
[real_filename] [varchar] (255) DEFAULT ('') NOT NULL ,
|
||||
[download_count] [int] DEFAULT (0) NOT NULL ,
|
||||
@@ -48,7 +49,7 @@ GO
|
||||
CREATE INDEX [poster_id] ON [phpbb_attachments]([poster_id]) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
CREATE INDEX [filesize] ON [phpbb_attachments]([filesize]) ON [PRIMARY]
|
||||
CREATE INDEX [is_orphan] ON [phpbb_attachments]([is_orphan]) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user