10 lines
329 B
PHP
10 lines
329 B
PHP
<?php
|
|
|
|
$graceminfreq=48*60*60;// 2 days
|
|
$gracetime=30*24*60*60;// 30 days
|
|
$now=time();
|
|
$graceline=gmmktime(0,0,0,gmdate('n',$now),gmdate('j',$now),gmdate('Y',$now))-$gracetime;// we fix the graceline at start of today minus $gracetime
|
|
//$graceline=$now-$gracetime;// we fix the graceline at now minus $gracetime
|
|
unset($now);
|
|
|
|
?>
|