From 8ee26e692272b93ec39bccb5ca3376ae7738a463 Mon Sep 17 00:00:00 2001 From: Christian Haschek Date: Sat, 19 Feb 2022 10:38:50 +0100 Subject: [PATCH] added small ip debug info output --- api/info.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/info.php b/api/info.php index 5014d19..e41ee7d 100644 --- a/api/info.php +++ b/api/info.php @@ -10,6 +10,9 @@ include_once(ROOT.DS.'inc'.DS.'config.inc.php'); //loading core and controllers include_once(ROOT . DS . 'inc' . DS. 'core.php'); + +if($_REQUEST['ip']=='pls') exit(getUserIP()); + loadAllContentControllers(); $hash = $_REQUEST['hash'];