PDA

View Full Version : attachment.php in 3.6.5


RedGTiVR6
04-05-2007, 12:55 PM
on line 1342 in 3.6.5 it has the following:

$vbulletin->GPC['type']['extension'] = preg_replace('#[^a-z0-9_]#i', '', $vbulletin->GPC['type']['extension']);

In our version (3.6.3) that same line shows:

$vbulletin->GPC['type']['extension'] = str_replace('.', '', $vbulletin->GPC['type']['extension']);

I'm trying to update our forum by following this thread: https://vborg.vbsupport.ru/showthread.php?t=38545

I've gone through the mods on our forum and nothing seems to have touched this template.

I'm wondering a few things:

A) Is this one of the updates that's been made with the new release?

B) Where can I find a list of what all has been updated that might help me as I come across other modifications in the process.

Thanks in advance!

Dismounted
04-06-2007, 04:30 AM
That only applies if you're using file hacks (very unlikely as they were *close* to abolished in 3.5.x). Otherwise you just upload & replace all files, then run install/upgrade.php.

RedGTiVR6
04-06-2007, 11:17 AM
Otherwise you just upload & replace all files, then run install/upgrade.php.

I'm sorry, but if I just did that without checking the code, some of our modifications wouldn't work after the upgrade.

Dismounted
04-06-2007, 11:59 AM
You have file edits? If you don't, all your modifications would work on 3.6.5.

RedGTiVR6
04-06-2007, 12:07 PM
I went through all files one by one using a comparison tool.

What file would this be?

Dismounted
04-06-2007, 12:15 PM
Huh? No hacks should break from 3.6.3 to 3.6.5...As your hacks should be imported through the plugin system.