- 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:
Sarjuuk
2014-09-28 13:30:17 +02:00
parent 713df0d7f2
commit 0806e616ae
7 changed files with 53 additions and 60 deletions

View File

@@ -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