settings prep 1

This commit is contained in:
Jokob-sk
2022-12-23 00:28:50 +11:00
parent 1ea7990314
commit ffd8f870f3
4 changed files with 104 additions and 17 deletions

View File

@@ -18,6 +18,13 @@ if ($_SESSION["login"] != 1)
require 'php/templates/header.php';
require 'php/templates/graph.php';
require 'php/server/util.php';
// check permissions
$dbPath = "../db/pialert.db";
$confPath = "../config/pialert.conf";
checkPermissions([$dbPath, $confPath]);
?>
<!-- Page ------------------------------------------------------------------ -->