Major refactoring of page and navigation

This commit is contained in:
Ziver Koc 2016-07-22 21:37:51 +02:00
parent bb546ce046
commit 3a0f40dab9
25 changed files with 353 additions and 669 deletions

View file

@ -47,12 +47,10 @@ public class ApacheConfigVirtualHost implements WAServiceConfig{
@Override
public void configure() throws Exception {
// Update main configuration file
FileInputStream in = new FileInputStream(STATIC_PRE_CONF);
ConfigFileUtil.writeBetweenBoundary(
WAConstants.getConfigFile(APACHE_MAIN_CONFIG_FILE),
"#",
IOUtil.readContentAsString(in));
in.close();
IOUtil.readContentAsString(new FileInputStream(STATIC_PRE_CONF), true));
// Write Vhost configuration
for(ApacheVirtualHostEntry vhost : vhosts){
vhost.configure();