mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- updated Loot-class to work with TrinityCore:master/55b43c67519359f0e5a96004c393898b3c62add3
- fixed some awkward names for skinning-tabs on npc.php - only send calendar if we have events to display on event.php - do not display conditions column if there are no conditions on item.php
This commit is contained in:
@@ -130,28 +130,17 @@ if ($scList)
|
||||
}
|
||||
|
||||
if (fWrite($dest, $content))
|
||||
{
|
||||
fClose($dest);
|
||||
$log[] = [time(), sprintf(ERR_NONE, $destPath.$file)];
|
||||
}
|
||||
else
|
||||
{
|
||||
$log[] = [time(), sprintf(ERR_WRITE_FILE, $destPath.$file)];
|
||||
fClose($dest);
|
||||
continue;
|
||||
}
|
||||
|
||||
fClose($dest);
|
||||
}
|
||||
else
|
||||
{
|
||||
$log[] = [time(), sprintf(ERR_CREATE_FILE, $destPath.$file)];
|
||||
continue;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$log[] = [time(), sprintf(ERR_READ_FILE, $tplPath.$file.'.in')];
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
// files without template
|
||||
|
||||
Reference in New Issue
Block a user