Merge branch '201-update_manager_online_open_problems_to_update' into 'pandora_6.0'

Fixed update manager online open version. Ticket #201

See merge request !87
This commit is contained in:
vgilc 2017-01-30 11:32:53 +01:00
commit 09195ca529

View File

@ -608,11 +608,10 @@ function update_manager_starting_update() {
$path_package = $config['attachment_store'] .
"/downloads/last_package.tgz";
$full_path = $config['attachment_store'] . "/downloads/pandora_console";
$full_path = $config['attachment_store'] . "/downloads/unix";
ob_start();
if (!defined('PHP_VERSION_ID')) {
$version = explode('.', PHP_VERSION);
define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + $version[2]));