homepage/g.cgi.c

12 lines
205 B
C
Raw Normal View History

2012-03-14 16:33:35 -06:00
#include <stdlib.h>
#include <unistd.h>
int
main(int argc, char *argv[])
{
setenv("CGIT_CONFIG", "/home/neale/public_html/cgitrc", 1);
2012-03-14 16:51:20 -06:00
execl("/usr/local/bin/cgit", "cgit", NULL);
2012-03-14 16:33:35 -06:00
return 0;
}