vogelor
2009-01-26 3a4834ee6dd098b1527fef43211fbf41b48c9f46
Fixed problem with suexec, cgi and openbasedir
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
@@ -569,7 +569,7 @@
            $cgi_tpl = new tpl();
            $cgi_tpl->newTemplate("php-cgi-starter.master");
            $cgi_tpl->setVar('open_basedir',$data["new"]["document_root"]);
            $cgi_tpl->setVar('open_basedir', "/var/www/" . $data["new"]["domain"]);
            $cgi_tpl->setVar('php_cgi_bin',$cgi_config["cgi_bin"]);
            $cgi_starter_script = escapeshellcmd($cgi_starter_path.$cgi_config["cgi_starter_script"]);