tbrehm
2013-05-27 15e982543e1d25832ad5f47b07f1564b54d3fd7a
Fixed typo in error message.
2 files modified
4 ■■■■ changed files
server/plugins-available/apache2_plugin.inc.php 2 ●●● patch | view | raw | blame | history
server/plugins-available/nginx_plugin.inc.php 2 ●●● patch | view | raw | blame | history
server/plugins-available/apache2_plugin.inc.php
@@ -100,7 +100,7 @@
        $app->uses('getconf');
        $web_config = $app->getconf->get_server_config($conf['server_id'], 'web');
        if ($web_config['CA_path']!='' && !file_exists($web_config['CA_path'].'/openssl.cnf'))
            $app->log("CA path error, file does not exist:".$web_config['CA_path'].'/openssl.conf',LOGLEVEL_ERROR);
            $app->log("CA path error, file does not exist:".$web_config['CA_path'].'/openssl.cnf',LOGLEVEL_ERROR);
        
        //* Only vhosts can have a ssl cert
        if($data["new"]["type"] != "vhost" && $data["new"]["type"] != "vhostsubdomain") return;
server/plugins-available/nginx_plugin.inc.php
@@ -99,7 +99,7 @@
        $app->uses('getconf');
        $web_config = $app->getconf->get_server_config($conf['server_id'], 'web');
        if ($web_config['CA_path']!='' && !file_exists($web_config['CA_path'].'/openssl.cnf'))
            $app->log("CA path error, file does not exist:".$web_config['CA_path'].'/openssl.conf',LOGLEVEL_ERROR);
            $app->log("CA path error, file does not exist:".$web_config['CA_path'].'/openssl.cnf',LOGLEVEL_ERROR);
        
        //* Only vhosts can have a ssl cert
        if($data["new"]["type"] != "vhost" && $data["new"]["type"] != "vhostsubdomain") return;