]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Always load the AJAX user interface, it's protected with access control now
authorAndreas Öman <andreas@lonelycoder.com>
Fri, 2 May 2008 13:55:25 +0000 (13:55 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Fri, 2 May 2008 13:55:25 +0000 (13:55 +0000)
main.c

diff --git a/main.c b/main.c
index ef291e7b1f515d0702f9861cbc8c9780efa1820f..47ca34182d70a75534e72788b66f91f56c4e0e39 100644 (file)
--- a/main.c
+++ b/main.c
@@ -125,16 +125,12 @@ main(int argc, char **argv)
   int logfacility = LOG_DAEMON;
   int disable_dvb = 0;
   int p;
-  int doajax = 0;
   char buf[400];
 
   signal(SIGPIPE, handle_sigpipe);
 
-  while((c = getopt(argc, argv, "c:fu:g:dA")) != -1) {
+  while((c = getopt(argc, argv, "c:fu:g:d")) != -1) {
     switch(c) {
-    case 'A':
-      doajax = 1;
-      break;
     case 'd':
       disable_dvb = 1;
       break;
@@ -253,9 +249,7 @@ main(int argc, char **argv)
   //  htmlui_start();
 
   webui_start();
-
-  if(doajax)
-    ajaxui_start();
+  ajaxui_start();
 
   avgen_init();