Added more Fun to htdocs/info.fun. (0.37.33)
This commit is contained in:
parent
83281bf2de
commit
e6b9bd7488
4 changed files with 9 additions and 3 deletions
|
|
@ -16,7 +16,10 @@ print("<h1>Fun Environment Information</h1>")
|
|||
print("<p><strong>Current Path:</strong> " + env("PATH") + "</p>")
|
||||
print("<p><strong>Current User:</strong> " + env("USER") + "</p>")
|
||||
print("<p><strong>Time:</strong> " + date_format(time_now_ms(), "%Y-%m-%d %H:%M:%S") + "</p>")
|
||||
print("<p><strong>Version:</strong> " + to_string(fun_version()) + "</p>")
|
||||
print("<p><strong>Local Version:</strong> " + to_string(fun_version()) + "</p>")
|
||||
res = proc_run("fun -V")
|
||||
installed_version = res["out"]
|
||||
print("<p><strong>Installed Version:</strong> " + to_string(substr(installed_version, 4, len(installed_version)-2)) + "</p>")
|
||||
print("<h2>Full Environment:</h2>")
|
||||
print("<ul>")
|
||||
all_env = env_all()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue