Fixed a bug in update.php
| | |
| | | } |
| | | |
| | | //** Shall the services be reconfigured during update |
| | | $reconfigure_services_answer = $inst->simple_query('Reconfigure Services?', 'yes,no','yes'); |
| | | $reconfigure_services_answer = $inst->simple_query('Reconfigure Services?', array('yes','no'),'yes'); |
| | | |
| | | if($reconfigure_services_answer == 'yes') { |
| | | //** Configure postfix |
| | |
| | | $inst->install_ispconfig(); |
| | | |
| | | //** Configure Crontab |
| | | $update_crontab_answer = $inst->simple_query('Reconfigure Services?', 'yes,no','yes'); |
| | | $update_crontab_answer = $inst->simple_query('Reconfigure Services?', array('yes','no'),'yes'); |
| | | if($update_crontab_answer == 'yes') { |
| | | swriteln('Updating Crontab'); |
| | | $inst->install_crontab(); |