Skip to content
Snippets Groups Projects
Commit 3a4834ee authored by vogelor's avatar vogelor
Browse files

Fixed problem with suexec, cgi and openbasedir

parent 476a6090
No related branches found
No related tags found
No related merge requests found
......@@ -569,7 +569,7 @@ class apache2_plugin {
$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"]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment