Fix compile.

This commit is contained in:
Relintai 2022-02-04 22:11:50 +01:00
parent 4b9266c1f3
commit 0514505cef
3 changed files with 3 additions and 8 deletions

View File

@ -6,11 +6,6 @@
#include "core/reference.h"
enum QueryErrorCode {
OK,
ERROR
};
class QueryBuilder;
class TableBuilder;
class QueryResult;

View File

@ -9,7 +9,6 @@
#include "core/http/web_node.h"
#include "core/http/request.h"
#include "paged_article_entry.h"
class PagedArticle : public WebNode {
RCPP_OBJECT(PagedArticle, WebNode);
@ -25,6 +24,7 @@ public:
~PagedArticle();
String articles_folder;
//todo make this somehow articles_folder + "/files" by default
String serve_folder;
protected:

View File

@ -25,8 +25,8 @@ void PagedList::load() {
main_page->folder = folder;
main_page->load();
articles->base_path = base_path;
articles->folder = folder;
articles->articles_folder = folder;
articles->serve_folder = folder + "/files";
articles->load();
}