Begin removing several dependencies on Config object
This commit is contained in:
@@ -5,12 +5,12 @@
|
||||
class UrlProvider
|
||||
{
|
||||
private:
|
||||
const Config *config;
|
||||
const ConfigUrls *config;
|
||||
|
||||
std::string replaceOnlyPage(std::string templatepart, std::string page);
|
||||
|
||||
public:
|
||||
UrlProvider(const Config &config)
|
||||
UrlProvider(const ConfigUrls &config)
|
||||
{
|
||||
this->config = &config;
|
||||
}
|
||||
|
Viittaa uudesa ongelmassa
Block a user