Added url variables, removed exec pages
This commit is contained in:
@@ -287,14 +287,6 @@ Sitefile *parseSitefile(char *path) {
|
||||
goto error;
|
||||
ret->content[ret->size].command = READ;
|
||||
}
|
||||
else if (strcmp(argv[0], "exec") == 0) {
|
||||
if (argc < 3)
|
||||
goto error;
|
||||
ret->content[ret->size].arg = strdup(argv[2]);
|
||||
if (ret->content[ret->size].arg == NULL)
|
||||
goto error;
|
||||
ret->content[ret->size].command = EXEC;
|
||||
}
|
||||
else if (strcmp(argv[0], "throw") == 0) {
|
||||
if (argc < 3)
|
||||
goto error;
|
||||
|
||||
Reference in New Issue
Block a user