Fix template errors

Fixed broken no-read bans (Hopefully)
Better fix for the "exploit"
Finally fixed upload boards not showing the number of replies

git-svn-id: http://kusabax.cultnet.net/svn/repo/stable@308 73d99b7e-4f53-4972-b7b7-2ecd3c4d89ee
This commit is contained in:
Harrison committed 2011-07-26 18:13:28 +00:00
1 parent a4e5942b55
commit b9af41126a
6 files changed
+22 -14

No files matched your search

+6 -1
View File
@@ -216,7 +216,12 @@ class Upload {
/* Otherwise, use this script alone */
} else {
$this->file_location = KU_BOARDSDIR . $board_class->board['name'] . '/src/' . $this->file_name . $this->file_type;
if (file_exists($this->file_location)) {
exitWithErrorPage(_gettext('A file by that name already exists'));
die();
}
if($this->file_type == '.mp3') {
require_once(KU_ROOTDIR . 'lib/getid3/getid3.php');