From accae0ce5037db08bfed13831c57bffe8f9f01e9 Mon Sep 17 00:00:00 2001 From: Nay Date: Sat, 29 Oct 2011 00:20:56 +0100 Subject: TDB 335.11.43 Move SQL updates to the directory old. --- src/server/worldserver/Main.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/server/worldserver/Main.cpp') diff --git a/src/server/worldserver/Main.cpp b/src/server/worldserver/Main.cpp index 1ce247d9249..6964c617b25 100755 --- a/src/server/worldserver/Main.cpp +++ b/src/server/worldserver/Main.cpp @@ -20,6 +20,8 @@ /// @{ /// \file +#include + #include #include #include @@ -133,6 +135,14 @@ extern int main(int argc, char **argv) { sLog->outError("Invalid or missing configuration file : %s", cfg_file); sLog->outError("Verify that the file exists and has \'[worldserver]' written in the top of the file!"); + + char *path=NULL; + size_t size = 0; + int a; + path=getcwd(path,size); + std::cout<<"\n current Path"<> a; + return 1; } sLog->outString("Using configuration file %s.", cfg_file); -- cgit v1.2.3