Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
d71bae3c
Commit
d71bae3c
authored
Aug 22, 2012
by
tbrehm
Browse files
Added code to remove the domain module to the installer.
parent
837d1830
Changes
5
Hide whitespace changes
Inline
Side-by-side
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
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