only let visitors remove their own files.
This commit is contained in:
@@ -87,6 +87,7 @@ CREATE TABLE IF NOT EXISTS `attach` (
|
||||
`aid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`uid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`hash` char(64) NOT NULL DEFAULT '',
|
||||
`creator` char(128) NOT NULL DEFAULT '0',
|
||||
`filename` char(255) NOT NULL DEFAULT '',
|
||||
`filetype` char(64) NOT NULL DEFAULT '',
|
||||
`filesize` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
@@ -104,6 +105,7 @@ CREATE TABLE IF NOT EXISTS `attach` (
|
||||
KEY `aid` (`aid`),
|
||||
KEY `uid` (`uid`),
|
||||
KEY `hash` (`hash`),
|
||||
KEY `creator` (`creator`),
|
||||
KEY `filename` (`filename`),
|
||||
KEY `filetype` (`filetype`),
|
||||
KEY `filesize` (`filesize`),
|
||||
|
||||
Reference in New Issue
Block a user