tbrehm
2009-09-02 155cc0df3882f722b0737b03d85df80a83f01d1e
Fixed chroot detection in apache2 plugin.
1 files modified
2 ■■■ changed files
server/plugins-available/apache2_plugin.inc.php 2 ●●● patch | view | raw | blame | history
server/plugins-available/apache2_plugin.inc.php
@@ -236,7 +236,7 @@
        $web_config = $app->getconf->get_server_config($conf["server_id"], 'web');
        
        //* Check if this is a chrooted setup
        if($web_config['website_basedir'] != '' && @is_file($web_config['/var/www'].'/etc/passwd')) {
        if($web_config['website_basedir'] != '' && @is_file($web_config['website_basedir'].'/etc/passwd')) {
            $apache_chrooted = true;
            $app->log("Info: Apache is chrooted.",LOGLEVEL_DEBUG);
        } else {