Basically Working

This commit is contained in:
2018-05-18 17:22:01 +02:00
parent 164eda05fe
commit 0c2590b3f5
6 changed files with 460 additions and 12 deletions

40
src/Path.h Normal file
View File

@ -0,0 +1,40 @@
#include <iostream>
#ifndef NECRONDA_PATH
#define NECRONDA_PATH
using namespace std;
class Path {
private:
string webroot;
string relpath;
string query;
public:
Path(string webroot, string reqpath);
string getWebRoot();
string getRelativePath();
string getAbsolutePath();
string getFilePath();
string getRelativeFilePath();
string getNewPath();
FILE *openFile();
string getFilePathInfo();
string getFileType();
bool isStatic();
};
#endif