Diff
Not logged in

Differences From:

File src/main.c part of check-in [c2d1e3c70a] - Improved display of version information on the help command. Display fossil version number and date on the bottom of every webpage. by drh on 2007-09-22 17:38:57. [view]

To:

File src/main.c part of check-in [1e9c0e287e] - Test commands for importing and exporting ticket configurations. by drh on 2007-10-03 12:20:00. [view]

@@ -596,8 +596,17 @@
     db_must_be_within_tree();
   }
   cgi_handle_http_request();
   process_one_web_page();
+}
+
+/*
+** COMMAND: test-http
+** Works like the http command but gives setup permission to all users.
+*/
+void cmd_test_http(void){
+  login_set_capabilities("s");
+  cmd_http();
 }
 
 /*
 ** COMMAND: server