Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Dirk Dankhoff
ISPConfig 3
Commits
d06c20db
Commit
d06c20db
authored
Nov 23, 2011
by
tbrehm
Browse files
Fixed: FS#1877 - Redirect Bug
parent
f442da03
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/web/sites/ajax_get_json.php
View file @
d06c20db
...
...
@@ -38,7 +38,7 @@ $server_id = intval($_GET["server_id"]);
$web_id
=
intval
(
$_GET
[
"web_id"
]);
$type
=
$_GET
[
"type"
];
if
(
$_SESSION
[
"s"
][
"user"
][
"typ"
]
==
'admin'
)
{
//
if($_SESSION["s"]["user"]["typ"] == 'admin') {
if
(
$type
==
'getservertype'
){
$json
=
'{"servertype":"'
;
...
...
@@ -60,7 +60,7 @@ if($_SESSION["s"]["user"]["typ"] == 'admin') {
$json
.
=
'"}'
;
}
}
//
}
echo
$json
;
?>
\ No newline at end of file
server/plugins-available/apps_vhost_plugin.inc.php
View file @
d06c20db
...
...
@@ -39,7 +39,11 @@ class apps_vhost_plugin {
function
onInstall
()
{
global
$conf
;
return
true
;
if
(
$conf
[
'services'
][
'web'
]
==
true
)
{
return
true
;
}
else
{
return
false
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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