Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lolo888
ISPConfig 3
Commits
2da67cca
Commit
2da67cca
authored
Mar 16, 2015
by
lolo888
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add mailing list default url to /mailman/admin of domain name
parent
e564b479
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
interface/web/mail/mailinglist.php
interface/web/mail/mailinglist.php
+3
-3
No files found.
interface/web/mail/mailinglist.php
View file @
2da67cca
...
...
@@ -43,7 +43,7 @@ $listId = $app->functions->intval($_GET['id']);
/*
* Get the data to connect to the database
*/
$dbData
=
$app
->
db
->
queryAllRecords
(
"SELECT server_id, listname FROM mail_mailinglist WHERE mailinglist_id = "
.
$listId
);
$dbData
=
$app
->
db
->
queryAllRecords
(
"SELECT server_id, listname
, domain
FROM mail_mailinglist WHERE mailinglist_id = "
.
$listId
);
$serverId
=
$app
->
functions
->
intval
(
$dbData
[
0
][
'server_id'
]);
if
(
$serverId
==
0
){
die
(
"No List - Server found!"
);
...
...
@@ -62,7 +62,7 @@ if($global_config['mailmailinglist_url'] != '') {
* We only redirect to the login-form, so there is no need, to check any rights
*/
isset
(
$_SERVER
[
'HTTPS'
])
?
$http
=
'https'
:
$http
=
'http'
;
header
(
'Location:'
.
$http
.
'://'
.
$
serverData
[
'server_name
'
]
.
'/cgi-bin/mailman/admin/'
.
$dbData
[
0
][
'listname'
]);
header
(
'Location:'
.
$http
.
'://'
.
$
dbData
[
0
][
'domain
'
]
.
'/cgi-bin/mailman/admin/'
.
$dbData
[
0
][
'listname'
]);
}
exit
;
?>
?>
\ No newline at end of file
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