mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-18 16:48:51 +02:00
change the time calculation logic
This commit is contained in:
parent
05b681df47
commit
fe532a6238
1 changed files with 3 additions and 1 deletions
|
@ -195,7 +195,9 @@
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{if $run_date}
|
{if $run_date}
|
||||||
{if $current_date - $run_time > 3600}
|
{assign var="current_time" value=$smarty.now}
|
||||||
|
{assign var="run_time" value=strtotime($run_date)}
|
||||||
|
{if $current_time - $run_time > 3600}
|
||||||
<div class="panel panel-warning panel-hovered mb20 activities">
|
<div class="panel panel-warning panel-hovered mb20 activities">
|
||||||
<div class="panel-heading"><i class="fa fa-clock-o"></i> {Lang::T('Cron has not run for over 1 hour. Please
|
<div class="panel-heading"><i class="fa fa-clock-o"></i> {Lang::T('Cron has not run for over 1 hour. Please
|
||||||
check your setup.')}</div>
|
check your setup.')}</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue