Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISPConfig
ISPConfig 3
Commits
8e12d4d9
Commit
8e12d4d9
authored
Mar 24, 2010
by
tbrehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed: FS#1131 - error in php-cgi-starter
Fixed: FS#1118 - [client_id] is not resolved in .php-fcgi-starter
parent
658b0f19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
interface/web/sites/web_domain_edit.php
interface/web/sites/web_domain_edit.php
+1
-0
No files found.
interface/web/sites/web_domain_edit.php
View file @
8e12d4d9
...
...
@@ -442,6 +442,7 @@ class page_action extends tform_actions {
$app
->
db
->
query
(
$sql
);
}
if
(
$web_rec
[
'php_open_basedir'
]
==
''
)
{
$document_root
=
$app
->
db
->
quote
(
str_replace
(
"[client_id]"
,
$client_id
,
$document_root
));
$php_open_basedir
=
str_replace
(
"[website_path]"
,
$document_root
,
$web_config
[
"php_open_basedir"
]);
$php_open_basedir
=
$app
->
db
->
quote
(
str_replace
(
"[website_domain]"
,
$web_rec
[
'domain'
],
$php_open_basedir
));
$sql
=
"UPDATE web_domain SET php_open_basedir = '
$php_open_basedir
' WHERE domain_id = "
.
$this
->
id
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment