Update update.blade.php
This commit is contained in:
parent
e6bdaeacf6
commit
4c9a9558f5
|
@ -20,7 +20,7 @@
|
||||||
<h1>{{__('message.Updater')}}</h1>
|
<h1>{{__('message.Updater')}}</h1>
|
||||||
@if(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')
|
@if(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')
|
||||||
@if(env('JOIN_BETA') === true)
|
@if(env('JOIN_BETA') === true)
|
||||||
<p><?php echo __('message.Latest beta version')."= " . external_file_get_contents("https://beta.linkstack.org/vbeta.json"); ?></p>
|
<p><?php echo __('messages.Latest beta version')."= " . external_file_get_contents("https://beta.linkstack.org/vbeta.json"); ?></p>
|
||||||
<p><?php if(file_exists(base_path("vbeta.json"))) {echo __('messages.Installed beta version')."= " . file_get_contents(base_path("vbeta.json"));} else {echo __('messages.Installed beta version')."= ".__('messages.none');} ?></p>
|
<p><?php if(file_exists(base_path("vbeta.json"))) {echo __('messages.Installed beta version')."= " . file_get_contents(base_path("vbeta.json"));} else {echo __('messages.Installed beta version')."= ".__('messages.none');} ?></p>
|
||||||
<p><?php if($Vgit > $Vlocal) {echo __('messages.You need to update to the latest mainline release');} else {echo __("messages.You’re running the latest mainline release");} ?></p>
|
<p><?php if($Vgit > $Vlocal) {echo __('messages.You need to update to the latest mainline release');} else {echo __("messages.You’re running the latest mainline release");} ?></p>
|
||||||
@else
|
@else
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
</div>
|
</div>
|
||||||
@else
|
@else
|
||||||
@if(env('JOIN_BETA') === true)
|
@if(env('JOIN_BETA') === true)
|
||||||
<p><?php echo __('message.Latest beta version')."= " . external_file_get_contents("https://beta.linkstack.org/vbeta.json"); ?></p>
|
<p><?php echo __('messages.Latest beta version')."= " . external_file_get_contents("https://beta.linkstack.org/vbeta.json"); ?></p>
|
||||||
<p><?php if(file_exists(base_path("vbeta.json"))) {echo __('messages.Installed beta version')."= " . file_get_contents(base_path("vbeta.json"));} else {echo __('messages.Installed beta version')."= ".__('messages.none');} ?></p>
|
<p><?php if(file_exists(base_path("vbeta.json"))) {echo __('messages.Installed beta version')."= " . file_get_contents(base_path("vbeta.json"));} else {echo __('messages.Installed beta version')."= ".__('messages.none');} ?></p>
|
||||||
<p><?php if($Vgit > $Vlocal) {echo __('messages.You need to update to the latest mainline release');} else {echo __("messages.You’re running the latest mainline release");} ?></p>
|
<p><?php if($Vgit > $Vlocal) {echo __('messages.You need to update to the latest mainline release');} else {echo __("messages.You’re running the latest mainline release");} ?></p>
|
||||||
@else
|
@else
|
||||||
|
|
Loading…
Reference in New Issue