| | |
| | | //* Make the global language file directory group writable |
| | | exec("chmod -R 770 $install_dir/interface/lib/lang"); |
| | | |
| | | //* Make the temp directory for language file exports writable |
| | | exec("chmod -R 770 $install_dir/interface/web/temp"); |
| | | |
| | | //* Make all interface language file directories group writable |
| | | $handle = @opendir($install_dir.'/interface/web'); |
| | | while ($file = @readdir ($handle)) { |
| | |
| | | // Make the Clamav log files readable by ISPConfig |
| | | exec('chmod +r /var/log/clamav/clamav.log'); |
| | | exec('chmod +r /var/log/clamav/freshclam.log'); |
| | | |
| | | //* Install the SVN update script |
| | | exec('cp ../helper_scripts/update_from_svn.sh /usr/local/bin/ispconfig_update_from_svn.sh'); |
| | | exec('chown root /usr/local/bin/ispconfig_update_from_svn.sh'); |
| | | exec('chmod 700 /usr/local/bin/ispconfig_update_from_svn.sh'); |
| | | |
| | | } |
| | | |
| | | public function install_crontab() |