summaryrefslogtreecommitdiffstats
path: root/prog/inventar/h.php
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-04-28 21:17:02 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2023-04-28 21:17:02 +0200
commit97c5aa834b041bf52b1b9f508d58d39b03f70712 (patch)
treeeb4278adb833fd86529eda097c471d299641ef22 /prog/inventar/h.php
parentrazno (diff)
downloadr-97c5aa834b041bf52b1b9f508d58d39b03f70712.tar
r-97c5aa834b041bf52b1b9f508d58d39b03f70712.tar.gz
r-97c5aa834b041bf52b1b9f508d58d39b03f70712.tar.bz2
r-97c5aa834b041bf52b1b9f508d58d39b03f70712.tar.lz
r-97c5aa834b041bf52b1b9f508d58d39b03f70712.tar.xz
r-97c5aa834b041bf52b1b9f508d58d39b03f70712.tar.zst
r-97c5aa834b041bf52b1b9f508d58d39b03f70712.zip
Diffstat (limited to 'prog/inventar/h.php')
-rw-r--r--prog/inventar/h.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/prog/inventar/h.php b/prog/inventar/h.php
index 2cba303..9b25d7a 100644
--- a/prog/inventar/h.php
+++ b/prog/inventar/h.php
@@ -1,4 +1,5 @@
<?php
+$auth = [ "username" => "password" ];
header("Content-Security-Policy: script-src 'none'"); // disable js
$db = new PDO("sqlite:db", null, null, [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]);
if (!$db)