Commit a88acd87 authored by omega8cc's avatar omega8cc

Fix whitespace and extra new lines.

Signed-off-by: omega8cc's avatarBarracuda Team <admin@omega8.cc>
parent 0b2f11a0
......@@ -15,7 +15,6 @@ class provisionService_http_nginx extends provisionService_http_public {
parent::init_server();
$this->configs['server'][] = 'provisionConfig_nginx_server';
$this->configs['site'][] = 'provisionConfig_nginx_site';
$this->server->setProperty('nginx_has_gzip', 0);
$this->server->setProperty('nginx_has_new_version', 0);
$this->server->setProperty('nginx_web_server', 0);
......@@ -74,7 +73,7 @@ class provisionService_http_nginx extends provisionService_http_public {
/**
* Restart/reload nginx to pick up the new config files.
*/
*/
function parse_configs() {
return $this->restart();
}
......@@ -91,7 +90,7 @@ class provisionConfig_nginx_server extends provisionConfig_http_server {
}
}
/**
/**
* Nginx site level config class. Virtual host.
*/
class provisionConfig_nginx_site extends provisionConfig_http_site {
......
......@@ -7,7 +7,7 @@
* The Nginx +SSL service implementation.
*/
// Include the nginx service implementation.
// Include the nginx service implementation.
// Even though we don't extend it, we do make use of it's config classes.
include_once(dirname(__FILE__) . '/../nginx/nginx_service.inc');
......@@ -16,7 +16,7 @@ include_once(dirname(__FILE__) . '/../nginx/nginx_service.inc');
* Nginx SSL service class.
*
* This class doesn't extend the nginx service itself, so there may
* be some duplication of code between them. The majority of the
* be some duplication of code between them. The majority of the
* functionality is however implemented in the provisionService_http_public
* class, which we do extend.
*/
......@@ -29,7 +29,7 @@ class provisionService_http_nginx_ssl extends provisionService_http_ssl {
// The nginx service defines it's restart command as a static
// method so that we can make use of it here.
return provisionService_http_nginx::nginx_restart_cmd();
}
}
public $ssl_enabled = TRUE;
......@@ -75,7 +75,7 @@ class provisionService_http_nginx_ssl extends provisionService_http_ssl {
/**
* Restart/reload nginx to pick up the new config files.
*/
*/
function parse_configs() {
return $this->restart();
}
......@@ -102,7 +102,7 @@ class provisionConfig_nginx_ssl_server extends provisionConfig_http_ssl_server {
/**
* Virtual host config file for Nginx + SSL.
*
* This file is created in addition to the existing virtual host,
* This file is created in addition to the existing virtual host,
* and includes some extra directives.
*/
class provisionConfig_nginx_ssl_site extends provisionConfig_http_ssl_site {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment