mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
19 lines
444 B
Plaintext
19 lines
444 B
Plaintext
|
iplookup
|
||
|
--------
|
||
|
|
||
|
These plugins will show you something about an IP address.
|
||
|
|
||
|
Moodle scripts call the index.php in this directory like this:
|
||
|
|
||
|
/iplookup/index.php?ip=222.222.222.222&user=1
|
||
|
|
||
|
Both parameters are optional, they default to the current user.
|
||
|
|
||
|
index.php loads the lib.php from a specified subdirectory
|
||
|
to actually display some sort of map or description.
|
||
|
|
||
|
The current plugin is selected using $CFG->iplookup.
|
||
|
|
||
|
Cheers,
|
||
|
Martin
|