7.4 to the go

This commit is contained in:
2022-12-19 20:26:14 +02:00
parent 6cd7b13db0
commit 924be6329b
237 changed files with 38764 additions and 89531 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ if( $url[2] == 'upload' && $u->info['admin'] > 0 ) {
}else{
if( isset($_FILES['filename']) && $u->info['admin'] > 0 ) {
include('class.upload.php');
require_once('class.upload.php');
$handle = new upload($_FILES['filename']);
$count = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `users` WHERE `uid` = "'.$u->info['id'].'" AND `time` > '.(time()-60).' LIMIT 1'));
if( $count > 3 && $u->info['admin'] == 0 ) {