Compare commits

...

2 Commits

Author SHA1 Message Date
a33bf21475 Add to sess.php 2026-02-24 18:43:02 -05:00
d0ea70df76 Change tabs to spaces and fix indentation 2026-02-24 18:34:42 -05:00
2 changed files with 20 additions and 18 deletions

View File

@ -1,19 +1,19 @@
{
"short_name": "JAJ Comics",
"description": "JAJ Comics: So many comics, so little time!",
"icons": [
{
"src": "img/comics_512.png",
"type": "image/png",
"sizes": "512x512"
},
{
"src": "img/comics_192.png",
"type": "image/png",
"sizes": "192x192"
}
],
"start_url": "index.php",
"display": "fullscreen",
"scope": "/comics/"
"short_name": "JAJ Comics",
"description": "JAJ Comics: So many comics, so little time!",
"icons": [
{
"src": "img/comics_512.png",
"type": "image/png",
"sizes": "512x512"
},
{
"src": "img/comics_192.png",
"type": "image/png",
"sizes": "192x192"
}
],
"start_url": "index.php",
"display": "fullscreen",
"scope": "/comics/"
}

View File

@ -4,7 +4,9 @@ require 'header.php';
require_login();
$data = array();
$data["session"] = $_SESSION;
$data["server"] = $_SERVER;
header('Content-Type: application/json');
echo json_encode($_SESSION);
echo json_encode($data);
exit();