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
d71bae3c
Commit
d71bae3c
authored
Aug 22, 2012
by
tbrehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added code to remove the domain module to the installer.
parent
837d1830
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
0 deletions
+19
-0
install/dist/lib/fedora.lib.php
install/dist/lib/fedora.lib.php
+3
-0
install/dist/lib/gentoo.lib.php
install/dist/lib/gentoo.lib.php
+4
-0
install/dist/lib/opensuse.lib.php
install/dist/lib/opensuse.lib.php
+3
-0
install/lib/installer_base.lib.php
install/lib/installer_base.lib.php
+5
-0
install/sql/incremental/upd_0040.sql
install/sql/incremental/upd_0040.sql
+4
-0
No files found.
install/dist/lib/fedora.lib.php
View file @
d71bae3c
...
...
@@ -1056,6 +1056,9 @@ class installer_dist extends installer_base {
exec
(
'chown -R ispconfig:ispconfig '
.
escapeshellarg
(
$install_dir
.
'/interface/invoices'
));
}
//* Remove Domain module as its functions are available in the client module now
if
(
@
is_dir
(
'/usr/local/ispconfig/interface/web/domain'
))
exec
(
'rm -rf /usr/local/ispconfig/interface/web/domain'
);
}
public
function
configure_dbserver
()
...
...
install/dist/lib/gentoo.lib.php
View file @
d71bae3c
...
...
@@ -1038,6 +1038,10 @@ class installer extends installer_base
chown
(
'/usr/local/bin/run-getmail.sh'
,
'getmail'
);
}
chmod
(
'/usr/local/bin/run-getmail.sh'
,
0744
);
//* Remove Domain module as its functions are available in the client module now
if
(
@
is_dir
(
'/usr/local/ispconfig/interface/web/domain'
))
exec
(
'rm -rf /usr/local/ispconfig/interface/web/domain'
);
}
}
...
...
install/dist/lib/opensuse.lib.php
View file @
d71bae3c
...
...
@@ -1098,6 +1098,9 @@ class installer_dist extends installer_base {
exec
(
'chown -R ispconfig:ispconfig '
.
escapeshellarg
(
$install_dir
.
'/interface/invoices'
));
}
//* Remove Domain module as its functions are available in the client module now
if
(
@
is_dir
(
'/usr/local/ispconfig/interface/web/domain'
))
exec
(
'rm -rf /usr/local/ispconfig/interface/web/domain'
);
}
...
...
install/lib/installer_base.lib.php
View file @
d71bae3c
...
...
@@ -1995,6 +1995,11 @@ class installer_base {
fclose($fh);
*/
}
//* Remove Domain module as its functions are available in the client module now
if
(
@
is_dir
(
'/usr/local/ispconfig/interface/web/domain'
))
exec
(
'rm -rf /usr/local/ispconfig/interface/web/domain'
);
}
public
function
configure_dbserver
()
{
...
...
install/sql/incremental/upd_0040.sql
0 → 100644
View file @
d71bae3c
-- Removal of the domain module
UPDATE
sys_user
SET
startmodule
=
'dashboard'
WHERE
startmodule
=
'domain'
;
UPDATE
sys_user
SET
modules
=
replace
(
modules
,
',domain'
,
''
)
WHERE
modules
like
'%domain%'
;
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