Commit f4284030dc1728d523d333bd7a5d70715833bdd5:
Optional extra info (from the main script only)
Branch: refs/heads/master
Author: Sebb <[email protected]>
Committer: Sebb <[email protected]>
Pusher: sebb <[email protected]>
------------------------------------------------------------
www/test.cgi | +++++++
------------------------------------------------------------
7 changes: 7 additions, 0 deletions.
------------------------------------------------------------
diff --git a/www/test.cgi b/www/test.cgi
index 89fc2ad..8b5619a 100755
--- a/www/test.cgi
+++ b/www/test.cgi
@@ -15,3 +15,10 @@ ENV.sort.each do |k,v|
print "#{k} #{v}\n"
end
+# Optional extra info (from the main script only)
+query = ENV['QUERY_STRING']
+if query and not query.empty? and ENV['SCRIPT_URL'] == '/test.cgi'
+ print "\n"
+ system('type','ruby')
+ system('ruby','-v')
+end