mirror of
https://github.com/hexahigh/games.git
synced 2025-12-11 20:15:38 +01:00
fix pacman highscore
This commit is contained in:
parent
6ed6c893ce
commit
65461b302c
@ -3,7 +3,7 @@
|
||||
/* IMPORTANT:
|
||||
* change this to the main url of where you host the application, otherwise, every entry will be marked as a cheater
|
||||
*/
|
||||
$hostdomain = 'boof.eu.org/Pacman';
|
||||
$hostdomain = 'boof.eu.org/Games/Pacman';
|
||||
|
||||
if (isset($_POST['action'])) {
|
||||
switch ($_POST['action']) {
|
||||
|
||||
@ -48,7 +48,7 @@ function geronimo() {
|
||||
$.ajax({
|
||||
datatype: "json",
|
||||
type: "GET",
|
||||
url: "data/db-handler.php",
|
||||
url: "https://boofcdn.rf.gd/pacman/db-handler.php",
|
||||
data: {
|
||||
timestamp: date,
|
||||
action: "get"
|
||||
@ -65,7 +65,7 @@ function geronimo() {
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: 'data/db-handler.php',
|
||||
url: 'https://boofcdn.rf.gd/pacman/db-handler.php',
|
||||
data: {
|
||||
action: 'add',
|
||||
name: n,
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<script src="index.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
x
Reference in New Issue
Block a user