From 55361bb41a37b1448c3aa729353c1391ccd28833 Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Sat, 14 Jun 2025 09:22:02 +0000
Subject: [PATCH] adding php
---
php/alex.php | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/php/alex.php b/php/alex.php
new file mode 100644
index 0000000..7334cf6
--- /dev/null
+++ b/php/alex.php
@@ -0,0 +1,21 @@
+<?php
+declare(strict_types=1);
+
+# Testdatei für globus-ilias-rest
+
+try {
+
+ require_once("Services/Init/classes/class.ilInitialisation.php");
+ ilInitialisation::initILIAS();
+
+ $usr = ilObjectFactory::getInstanceByObjId(316);
+ //echo $usr; aa
+ echo json_encode($usr);
+
+ echo "jojojo";
+}
+catch(Exception $ex) {
+ echo $ex;
+}
+
+?>
--
Gitblit v1.8.0