Added code to remove the domain module to the installer.
4 files modified
1 files added
| | |
| | | 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() |
| | |
| | | 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'); |
| | | |
| | | } |
| | | } |
| | | |
| | |
| | | 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'); |
| | | |
| | | |
| | | } |
| | | |
| | |
| | | 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() { |
New file |
| | |
| | | |
| | | -- 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%'; |