mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
Fix compile.
This commit is contained in:
parent
4b9266c1f3
commit
0514505cef
@ -6,11 +6,6 @@
|
||||
|
||||
#include "core/reference.h"
|
||||
|
||||
enum QueryErrorCode {
|
||||
OK,
|
||||
ERROR
|
||||
};
|
||||
|
||||
class QueryBuilder;
|
||||
class TableBuilder;
|
||||
class QueryResult;
|
||||
|
@ -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:
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user