Truwzka
Member
The date of my GesiorACC is buggy, it shows the current date as (Premium time expired at 1 January 1970, 1:00:30 CEST).
Someone know how to fix it ?
Thanks
Someone know how to fix it ?
Thanks
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/Sao_Paulo
; http://php.net/date.default-latitude
;date.default_latitude = 31.7667
; http://php.net/date.default-longitude
;date.default_longitude = 35.2333
; http://php.net/date.sunrise-zenith
;date.sunrise_zenith = 90.583333
; http://php.net/date.sunset-zenith
;date.sunset_zenith = 90.583333
<small>(Premium time expired at '.date("M j Y, H:i:s", $account_logged->getCustomField("lastpremdays")).' CEST)</small>
if($config['site']['newaccount_premdays'])
{
$reg_account->setCustomField("premdays", $config['site']['newaccount_premdays']);
$reg_account->setCustomField("lastpremdays", time() + ($config['site']['newaccount_premdays'] * 24 * 60 * 60));
}
Is it automatically that date when creating a new account? This is from accountmanagement and createaccount.php.
PHP:<small>(Premium time expired at '.date("M j Y, H:i:s", $account_logged->getCustomField("lastpremdays")).' CEST)</small> if($config['site']['newaccount_premdays']) { $reg_account->setCustomField("premdays", $config['site']['newaccount_premdays']); $reg_account->setCustomField("lastpremdays", time() + ($config['site']['newaccount_premdays'] * 24 * 60 * 60)); }
'<br><small>(Premium time expired at '.date("j F Y, G:i:s", $account_logged->getCustomField("premdays")).' CEST)</small></td></tr>
ALTER TABLE `accounts` ADD `lastpremdays` int(10) NOT NULL AFTER `premdays`;