I'm quite new to ispconfig and I am currently developing a new module. This is rather embarassing, because the answer i probably easy, but how do I get the current logged in username?
I have coded my own payment script, and I need to crosscheck between the ispconfig database, and my payment scripts database.
Posts: 31,888
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
You have to do that in a file that belongs to ispconfig. This means that it has to include the config file and app file as required for all files used in the ispconfig interface.
If you call it outside of the ispconfig app contect, then it will be empty of course.
Recent comments
17 hours 19 min ago
22 hours 18 min ago
23 hours 44 min ago
1 day 37 min ago
1 day 2 hours ago
1 day 6 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 22 hours ago
2 days 34 min ago