From 21567d7175ceb44f5858163640a009bb7e5c0fbc Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Thu, 01 Oct 2009 10:18:34 -0400 Subject: [PATCH] Fixed: FS#917 - Problem with cron not url or script sh --- server/plugins-available/apache2_plugin.inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php index 5e8fee3..d782b57 100644 --- a/server/plugins-available/apache2_plugin.inc.php +++ b/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 { -- Gitblit v1.9.1