Будь проклят тот день, когда я решил ввести неймспейсы...
This commit is contained in:
+2
-2
@@ -17,7 +17,7 @@ session_start();
|
||||
if ($_SESSION['uid'] != 2) header("Location: index.php");
|
||||
require_once 'config.php';
|
||||
|
||||
$user = new User($_SESSION['uid']);
|
||||
$user = new \Battles\User($_SESSION['uid']);
|
||||
$status = '';
|
||||
$dirname = "i/presents/";
|
||||
$images = glob($dirname . "*.png");
|
||||
@@ -62,7 +62,7 @@ if (!empty($_POST['sendAction'])) {
|
||||
db::c()->query('INSERT INTO `telegraph` (receiver, text) VALUES (?i,"?s")', $receiver['id'], $telegraphText);
|
||||
$status = "Подарок удачно доставлен к {$_POST['receiver']}! Вы потратили <b>{$cost}</b> кр.";
|
||||
}
|
||||
Template::header('Дарильня');
|
||||
\Battles\Template::header('Дарильня');
|
||||
?>
|
||||
<script src="js/main.js"></script>
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user