errors show
This commit is contained in:
parent
7f3f422126
commit
6227042134
@ -192,9 +192,6 @@ if (isset($_SESSION['uid'])) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function savecavedata($cavedata, $caveleader, $floor)
|
function savecavedata($cavedata, $caveleader, $floor)
|
||||||
{
|
{
|
||||||
$f1 = fopen("cavedata/$caveleader-$floor.dat", "wb+");
|
$f1 = fopen("cavedata/$caveleader-$floor.dat", "wb+");
|
||||||
|
1
main.php
1
main.php
@ -18,6 +18,7 @@ try {
|
|||||||
db::c()->query('UPDATE `online` SET `real_time` = ?i WHERE `id` = ?i', time(), $user['id']);
|
db::c()->query('UPDATE `online` SET `real_time` = ?i WHERE `id` = ?i', time(), $user['id']);
|
||||||
} catch (\Krugozor\Database\Mysql\Exception $e) {
|
} catch (\Krugozor\Database\Mysql\Exception $e) {
|
||||||
echo "<div style='background-color: #ffaaaa;'>Ошибка: " . $e->getMessage() . "<br> В файле: " . $e->getFile() . " (" . $e->getLine() . ")</div>";
|
echo "<div style='background-color: #ffaaaa;'>Ошибка: " . $e->getMessage() . "<br> В файле: " . $e->getFile() . " (" . $e->getLine() . ")</div>";
|
||||||
|
echo $e->getTrace();
|
||||||
}
|
}
|
||||||
if ($user['battle'] != 0) {
|
if ($user['battle'] != 0) {
|
||||||
header('location: fbattle.php');
|
header('location: fbattle.php');
|
||||||
|
Loading…
Reference in New Issue
Block a user