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", "short_name": "JAJ Comics",
"description": "JAJ Comics: So many comics, so little time!", "description": "JAJ Comics: So many comics, so little time!",
"icons": [ "icons": [
{ {
"src": "img/comics_512.png", "src": "img/comics_512.png",
"type": "image/png", "type": "image/png",
"sizes": "512x512" "sizes": "512x512"
}, },
{ {
"src": "img/comics_192.png", "src": "img/comics_192.png",
"type": "image/png", "type": "image/png",
"sizes": "192x192" "sizes": "192x192"
} }
], ],
"start_url": "index.php", "start_url": "index.php",
"display": "fullscreen", "display": "fullscreen",
"scope": "/comics/" "scope": "/comics/"
} }

View File

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