Skip to content

Commit

Permalink
XPanel Laravel v3.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
xpanel-cp committed Jan 24, 2024
1 parent dbe0c6a commit 8ec492f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Web Panel/app/app/Http/Controllers/FixerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -609,8 +609,8 @@ public function synstraffics()
->update(['download' => $lastdownload, 'upload' => $lastupload, 'total' => $lasttotal]);

}

$total=env('TRAFFIC_SERVER')+$lasttotal;
$totalInEnv = floatval(env('TRAFFIC_SERVER', 0));
$total = $totalInEnv + $lasttotal;
Process::run("sed -i \"s/TRAFFIC_SERVER=.*/TRAFFIC_SERVER=$total/g\" /var/www/html/app/.env");
}
}
Expand Down
4 changes: 2 additions & 2 deletions Web Panel/app/resources/views/layouts/footer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
<script src="/assets/js/fonts/custom-font.js"></script>
@php $selectedLanguage = env('APP_MODE', 'light'); @endphp
@if($selectedLanguage=='light')
<script src="/assets/js/config.js?v=3.9.2"></script>
<script src="/assets/js/config.js?v=3.9.3"></script>
@elseif($selectedLanguage=='night')
<script src="/assets/js/config-night.js?v=3.9.2"></script>
<script src="/assets/js/config-night.js?v=3.9.3"></script>
@endif
<script src="/assets/js/pcoded.js"></script>
<script src="/assets/js/plugins/feather.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion Web Panel/app/resources/views/layouts/master.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
$obj = json_decode($json);
$github='https://github.com/xpanel-cp/XPanel-SSH-User-Management/blob/master/README-EN.md#installation-guide';
@endphp
@if($obj->last_version>392)
@if($obj->last_version>393)

<div class="p-4 mb-2" style="position: fixed;z-index: 9999;left: 0;">
<div class="toast fade show" role="alert" aria-live="assertive" aria-atomic="true">
Expand Down
2 changes: 1 addition & 1 deletion Web Panel/cp/assets/js/config-night.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ var preset_theme = 'preset-1'; // [ preset-1 to preset-10 ]
var dark_layout = 'true'; // [ false , true , default ]
var rtl_layout = 'false'; // [ false , true ]
var box_container = 'false'; // [ false , true ]
var version = 'XPanel v3.9.2';
var version = 'XPanel v3.9.3';
2 changes: 1 addition & 1 deletion Web Panel/cp/assets/js/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ var preset_theme = 'preset-1'; // [ preset-1 to preset-10 ]
var dark_layout = 'false'; // [ false , true , default ]
var rtl_layout = 'false'; // [ false , true ]
var box_container = 'false'; // [ false , true ]
var version = 'XPanel v3.9.2';
var version = 'XPanel v3.9.3';

0 comments on commit 8ec492f

Please sign in to comment.