- set umask in php-starter files (fcgid), fixes #299

This commit is contained in:
Michael Kaufmann (d00p)
2010-07-19 09:48:54 +00:00
parent 5f34dfa968
commit 4eb177e65f
2 changed files with 2 additions and 0 deletions

View File

@@ -121,6 +121,7 @@ class lighttpd_fcgid extends lighttpd
$starter_file.= "# starter created/changed on " . date("Y.m.d H:i:s") . " for domain '" . $domain['domain'] . "' with id #" . $domain['id'] . " from php template '" . $phpconfig['description'] . "' with id #" . $phpconfig['id'] . "\n";
$starter_file.= "# Do not change anything in this file, it will be overwritten by the Froxlor Cronjob!\n";
$starter_file.= "#\n\n";
$starter_file.= "umask 022\n";
$starter_file.= "PHPRC=" . escapeshellarg($configdir) . "\n";
$starter_file.= "export PHPRC\n";