From 8467c46cb354baf5282d1871455cf7d50f762873 Mon Sep 17 00:00:00 2001 From: ENGO150 <v.smejkal06@gmail.com> Date: Wed, 22 May 2024 16:18:18 +0200 Subject: [PATCH] moved ajax pages to its subdirectory --- res/forum/{ => admin}/admin.html | 0 res/forum/script.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename res/forum/{ => admin}/admin.html (100%) diff --git a/res/forum/admin.html b/res/forum/admin/admin.html similarity index 100% rename from res/forum/admin.html rename to res/forum/admin/admin.html diff --git a/res/forum/script.js b/res/forum/script.js index 03877de..4633980 100644 --- a/res/forum/script.js +++ b/res/forum/script.js @@ -6,7 +6,7 @@ function show(file) $.ajax ({ - url: "./res/forum/" + file + ".html", + url: "./res/forum/" + file + "/" + file + ".html", dataType: "html", success: function(data) {