Fix per les cookies que no funcionen
diff --git a/admin/createtable.php b/admin/createtable.php
index 4abafb0..ca5f2d6 100644
--- a/admin/createtable.php
+++ b/admin/createtable.php
@@ -26,5 +26,5 @@
)
*/
- if (query($create)) header("Location: ./index.php?dbname=".$dbname);
+ if (query($create)) die("<script>window.location.href = './index.php?dbname=".$dbname."'<script>");
?>
diff --git a/admin/insert.php b/admin/insert.php
index 4301bdd..e357105 100644
--- a/admin/insert.php
+++ b/admin/insert.php
@@ -20,5 +20,5 @@
if (!query($template)) die("An error ocurred.");
}
- header("Location: ./index.php");
+ die("<script>window.location.href = './index.php'</script>");
?>