Removed ISPConfig update function from interface. Use ispconfig_update.sh on the shell instead.
| | |
| | | ISPConfig 3 updater. |
| | | */ |
| | | |
| | | die("Autoupdate has been removed.\nPlease start the update on the shell with the command ispconfig_update.sh as root user.\n"); |
| | | |
| | | error_reporting(E_ALL|E_STRICT); |
| | | |
| | | /* |
| | |
| | | 'target' => 'content', |
| | | 'link' => 'admin/remote_action_osupdate.php', |
| | | 'html_id'=> 'osupdate'); |
| | | |
| | | /* |
| | | // ISPConfig interface update has been removed. Please use ispconfig_update.sh on the shell instead. |
| | | $items[] = array( 'title' => 'Do ISPConfig-Update', |
| | | 'target' => 'content', |
| | | 'link' => 'admin/remote_action_ispcupdate.php', |
| | | 'html_id'=> 'ispcupdate'); |
| | | */ |
| | | |
| | | $module['nav'][] = array( 'title' => 'Remote Actions', |
| | | 'open' => 1, |
| | |
| | | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| | | */ |
| | | |
| | | die('Function has been removed.'); |
| | | |
| | | require_once('../../lib/config.inc.php'); |
| | | require_once('../../lib/app.inc.php'); |
| | | |
| | |
| | | * we stop executing the actions not to waste more time */ |
| | | return; |
| | | } |
| | | |
| | | if ($action['action_type'] == 'ispc_update') { |
| | | /* do the update */ |
| | | $this->_doIspCUpdate($action); |
| | | // Update function has been removed |
| | | // $this->_doIspCUpdate($action); |
| | | /* this action takes so much time, |
| | | * we stop executing the actions not to waste more time */ |
| | | return; |
| | | $this->_actionDone($action['action_id'], 'ok'); |
| | | } |
| | | if ($action['action_type'] == 'openvz_start_vm') { |
| | | $veid = intval($action['action_param']); |
| | |
| | | |
| | | . /etc/profile |
| | | |
| | | if [ -f /tmp/ispconfig3_install/install/autoupdate ]; then |
| | | # |
| | | # there is a auto-update waiting for update, so let's do it |
| | | # |
| | | cd /tmp/ispconfig3_install/install |
| | | /usr/bin/php -q autoupdate.php |
| | | cd / |
| | | |
| | | # |
| | | # do some clean-up |
| | | # |
| | | rm /tmp/ispconfig3_install -R |
| | | |
| | | else |
| | | # |
| | | # there is no update waiting, so lets start the ISPConfig-System |
| | | # |
| | | cd /usr/local/ispconfig/server |
| | | /usr/bin/php -q /usr/local/ispconfig/server/server.php |
| | | fi |
| | | cd /usr/local/ispconfig/server |
| | | /usr/bin/php -q /usr/local/ispconfig/server/server.php |