Website Summary Files Commits Branches @commit @diff @stats
path: root / controllers / meta.php
diff options
context:
space:
mode:
Commit223a31224b9c140c9369358b6978c55ef289fde1 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-02-12 11:22:43 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-02-12 11:22:43 +0200
Filesbdf9ad64e5c4d475cb7732d1c4e7b33f7d718e0d /controllers/meta.php
nowayforward_human-223a31224b9c140c9369358b6978c55ef289fde1.tar
nowayforward_human-223a31224b9c140c9369358b6978c55ef289fde1.tar.gz
nowayforward_human-223a31224b9c140c9369358b6978c55ef289fde1.zip
Parent62a6f96f42d3f799e5beded2407ca53295a803f2 (diff)
hotfix: Replace environment variables with php global constants
1 files changed, 2 insertions, 0 deletions
-rw-r--r--controllers/meta.php2
diff --git a/controllers/meta.php b/controllers/meta.php
index 46550d3..aa7a09b 100644
--- a/controllers/meta.php
+++ b/controllers/meta.php
@@ -1,5 +1,7 @@
<?php
+include_once __DIR__ . '/../constants.php';
+
function call_handler(string $name) {
if (function_exists($name)) {
call_user_func($name);