summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-01-29 15:19:09 +0100
committerMinteck <contact@minteck.org>2023-01-29 15:19:09 +0100
commit14a175db9e48cf218450e3e7ca4cd964e2818c0d (patch)
treedaba29fed490b84d57e17c7b21b5b7cf50adaa65
parent8b82bd4a603bab2535b82b39713c07f5b81dfdbb (diff)
downloaddelta-14a175db9e48cf218450e3e7ca4cd964e2818c0d.tar.gz
delta-14a175db9e48cf218450e3e7ca4cd964e2818c0d.tar.bz2
delta-14a175db9e48cf218450e3e7ca4cd964e2818c0d.zip
Updated 2 files (automated)
-rw-r--r--_articles/index.php2
-rw-r--r--_gallery/index.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/_articles/index.php b/_articles/index.php
index 9e7d31d..f70960a 100644
--- a/_articles/index.php
+++ b/_articles/index.php
@@ -1,5 +1,7 @@
<?php
+require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.php";
+
$id = array_values(array_filter(array_keys($_GET), function ($i) {
return str_starts_with($i, "/") && strlen($i) > 1;
}))[0] ?? null;
diff --git a/_gallery/index.php b/_gallery/index.php
index 650a2de..478e1e4 100644
--- a/_gallery/index.php
+++ b/_gallery/index.php
@@ -1,5 +1,7 @@
<?php
+require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.php";
+
$id = array_values(array_filter(array_keys($_GET), function ($i) {
return str_starts_with($i, "/") && strlen($i) > 1;
}))[0] ?? null;