mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
Remove mysql include and test from main.cpp.
This commit is contained in:
parent
d36a344980
commit
4a81108677
6
main.cpp
6
main.cpp
@ -7,8 +7,6 @@
|
|||||||
|
|
||||||
#include "rdn_application.h"
|
#include "rdn_application.h"
|
||||||
|
|
||||||
#include "database/mysql/mysql_connection.h"
|
|
||||||
|
|
||||||
#define MAIN_CLASS RDNApplication
|
#define MAIN_CLASS RDNApplication
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
@ -16,9 +14,6 @@ int main(int argc, char **argv) {
|
|||||||
file_cache->wwwroot = "./www";
|
file_cache->wwwroot = "./www";
|
||||||
file_cache->wwwroot_refresh_cache();
|
file_cache->wwwroot_refresh_cache();
|
||||||
|
|
||||||
//MysqlConnection *conn;
|
|
||||||
//conn = new MysqlConnection();
|
|
||||||
|
|
||||||
Application *app = new MAIN_CLASS();
|
Application *app = new MAIN_CLASS();
|
||||||
|
|
||||||
app->setup_routes();
|
app->setup_routes();
|
||||||
@ -33,7 +28,6 @@ int main(int argc, char **argv) {
|
|||||||
delete server;
|
delete server;
|
||||||
delete app;
|
delete app;
|
||||||
delete file_cache;
|
delete file_cache;
|
||||||
// delete conn;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user