diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-04-28 21:17:02 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-04-28 21:17:02 +0200 |
commit | 97c5aa834b041bf52b1b9f508d58d39b03f70712 (patch) | |
tree | eb4278adb833fd86529eda097c471d299641ef22 /prog/inventar/h.php | |
parent | razno (diff) | |
download | r-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.php | 1 |
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) |