@extends('themes.default1.admin.layout.admin') @section('content')
@if(Session::has('success'))
{{Session::get('success')}}
@endif @if(Session::has('fails'))
{!! Lang::get('lang.alert') !!} ! {{Session::get('fails')}}
@endif

CURRENT VERSION: {{$current_version}}

Reading Current Releases List

$current_version) { echo '

New Update Found: v' . $latest_version . '

'; $found = true; if (!is_file("$controller->dir/UPDATES/faveo-helpdesk-master.zip")) { if (key_exists("dodownload", $_GET) && $_GET["dodownload"] == true) { $download_url = $controller->downloadLatestCode(); if ($download_url != null) { $controller->saveLatestCodeAtTemp($download_url); } else { echo '

Error in you network connection.

'; //exit(); } } else { echo '

Latest code found. » Download Now?

'; //exit(); } } else { echo '

Update ready. » Install Now?

'; //echo '

Update already downloaded.

'; } if ($request->get('doUpdate') == true) { ?>

 Updating Status

doUpdate(); if ($updated === true) { $controller->copyToActualDirectory($latest_version); } elseif ($found != true) { echo '

» No update is available.

'; exit(); } ?>
Could not find latest realeases.

'; } ?>
@stop