The cause are the backslashes in linux in the addons files paths.
I have added the commented line //hack...
and the following line with the str_replace in it to convert the backslashes to slashes.
- Code: Select all
// hack to convert backslash to slash in filedata files
$filedata['file']=str_replace("\\","/",$filedata['file']);
if (file_exists($WoWDir."/".$filedata['file']))
{
if ($filedata['md5'] == md5_file($WoWDir."/".$filedata['file']))
And now it seems to work as I found this in the log after the quick hack:
- Code: Select all
05/06/2007 23:43 - File /Interface/AddOns/GuildProfiler/GuildProfiler.lua is the same
05/06/2007 23:43 - File /Interface/AddOns/GuildProfiler/GuildProfiler.toc is the same
Is the phpuniuploader still in active development ?
Maybe someone can test my changes if it still works on windows & mac as I only have a linux machine available.
Nice work, I really like the phpuniuploader.