Sync ubus familly tools.

This commit is contained in:
2017-04-08 21:34:59 +02:00
parent 0e9f199c9c
commit 63d0813f93
57 changed files with 413 additions and 564 deletions

View File

@@ -104,11 +104,7 @@ static bool check_cgi_path(struct path_info *pi, const char *url)
}
pi->ip = NULL;
if (conf.cgi_docroot_path)
return uh_path_match(conf.cgi_docroot_path, pi->phys);
return false;
return uh_path_match(conf.cgi_docroot_path, pi->phys);
}
struct dispatch_handler cgi_dispatch = {