Changeset 41948


Ignore:
Timestamp:
02/25/18 02:48:18 (6 years ago)
Author:
obi
Message:

fix

Location:
titan/plugins/tithek
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/tithek/kinox.h

    r41941 r41948  
    7575//              tmpstr = gethttps(newurl, NULL, NULL, NULL, NULL, NULL, 1);
    7676// new start
    77                 cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", newurl, 0, 0);
     77                cmd = ostrcat("/tmp/localhoster/hoster.sh get '", newurl, 0, 0);
    7878                cmd = ostrcat(cmd, "'", 1, 0);
    7979                debug(99, "cmd: %s", cmd);
     
    123123//                                      tmpstr1 = gethttps(newurl, NULL, NULL, NULL, NULL, NULL, 1);
    124124// new start
    125                                         cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", newurl, 0, 0);
     125                                        cmd = ostrcat("/tmp/localhoster/hoster.sh get '", newurl, 0, 0);
    126126                                        cmd = ostrcat(cmd, "'", 1, 0);
    127127                                        debug(99, "cmd: %s", cmd);
     
    161161                                                line = ostrcat(line, "#", 1, 0);
    162162                                                line = ostrcat(line, url, 1, 0);
    163                                                 line = ostrcat(line, "#http://", 1, 0);
     163                                                line = ostrcat(line, "#", 1, 0);
    164164                                                line = ostrcat(line, getconfig("tithek_kinox_url", NULL), 1, 0);
    165165                                                line = ostrcat(line, "/", 1, 0);
     
    292292//      tmpstr = gethttps(link, NULL, NULL, NULL, NULL, NULL, 1);
    293293// new start
    294         cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", link, 0, 0);
     294        cmd = ostrcat("/tmp/localhoster/hoster.sh get '", link, 0, 0);
    295295        cmd = ostrcat(cmd, "'", 1, 0);
    296296        debug(99, "cmd: %s", cmd);
     
    444444//                                              tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1);
    445445// new start
    446                                                 cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", pathnew, 0, 0);
     446                                                cmd = ostrcat("/tmp/localhoster/hoster.sh get '", pathnew, 0, 0);
    447447                                                cmd = ostrcat(cmd, "'", 1, 0);
    448448                                                debug(99, "cmd: %s", cmd);
     
    456456//                                                      tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1);
    457457// new start
    458                                                         cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", pathnew, 0, 0);
     458                                                        cmd = ostrcat("/tmp/localhoster/hoster.sh get '", pathnew, 0, 0);
    459459                                                        cmd = ostrcat(cmd, "'", 1, 0);
    460460                                                        debug(99, "cmd: %s", cmd);
     
    469469//                                                      tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1);
    470470// new start
    471                                                         cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", pathnew, 0, 0);
     471                                                        cmd = ostrcat("/tmp/localhoster/hoster.sh get '", pathnew, 0, 0);
    472472                                                        cmd = ostrcat(cmd, "'", 1, 0);
    473473                                                        debug(99, "cmd: %s", cmd);
     
    482482//                                                      tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1);
    483483// new start
    484                                                         cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", pathnew, 0, 0);
     484                                                        cmd = ostrcat("/tmp/localhoster/hoster.sh get '", pathnew, 0, 0);
    485485                                                        cmd = ostrcat(cmd, "'", 1, 0);
    486486                                                        debug(99, "cmd: %s", cmd);
     
    495495//                                                      tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1);
    496496// new start
    497                                                         cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", pathnew, 0, 0);
     497                                                        cmd = ostrcat("/tmp/localhoster/hoster.sh get '", pathnew, 0, 0);
    498498                                                        cmd = ostrcat(cmd, "'", 1, 0);
    499499                                                        debug(99, "cmd: %s", cmd);
     
    854854//      tmpstr = gethttps(link, NULL, NULL, NULL, NULL, NULL, 1);
    855855// new start
    856         cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", link, 0, 0);
     856        cmd = ostrcat("/tmp/localhoster/hoster.sh get '", link, 0, 0);
    857857        cmd = ostrcat(cmd, "'", 1, 0);
    858858        debug(99, "cmd: %s", cmd);
     
    887887//              tmpstr = gethttps(newurl, NULL, NULL, NULL, NULL, NULL, 1);
    888888// new start
    889                 cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", newurl, 0, 0);
     889                cmd = ostrcat("/tmp/localhoster/hoster.sh get '", newurl, 0, 0);
    890890                cmd = ostrcat(cmd, "'", 1, 0);
    891891                debug(99, "cmd: %s", cmd);
     
    997997//                                              tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1);
    998998// new start
    999                                                 cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", pathnew, 0, 0);
     999                                                cmd = ostrcat("/tmp/localhoster/hoster.sh get '", pathnew, 0, 0);
    10001000                                                cmd = ostrcat(cmd, "'", 1, 0);
    10011001                                                debug(99, "cmd: %s", cmd);
     
    10221022//                                                      tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1);
    10231023// new start
    1024                                                         cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", pathnew, 0, 0);
     1024                                                        cmd = ostrcat("/tmp/localhoster/hoster.sh get '", pathnew, 0, 0);
    10251025                                                        cmd = ostrcat(cmd, "'", 1, 0);
    10261026                                                        debug(99, "cmd: %s", cmd);
     
    11941194                                        incount++;
    11951195                                        line = ostrcat(line, name, 1, 0);
    1196 //                                      line = ostrcat(line, "#http://", 1, 0);
    1197 //                                      line = ostrcat(line, getconfig("tithek_kinox_url", NULL), 1, 0);
    1198                                         line = ostrcat(line, "#/People/", 1, 0);
     1196                                        line = ostrcat(line, "#", 1, 0);
     1197                                        line = ostrcat(line, getconfig("tithek_kinox_url", NULL), 1, 0);
     1198                                        line = ostrcat(line, "/People/", 1, 0);
    11991199                                        line = ostrcat(line, url, 1, 0);
    12001200                                        line = ostrcat(line, "#", 1, 0);
  • titan/plugins/tithek/tithek.c

    r41939 r41948  
    124124
    125125        if(getconfig("tithek_kinox_url", NULL) == NULL)
    126                 addconfigtmp("tithek_kinox_url", "kinox.io");
     126                addconfigtmp("tithek_kinox_url", "http://kinox.io");
    127127
    128128//      if(checkbox("WHITEBOX") == 1)
Note: See TracChangeset for help on using the changeset viewer.