mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 00:41:52 +02:00
Issue #5443 Warning removal and precautions.
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
namespace e107\Shims\Internal;
|
namespace e107\Shims\Internal;
|
||||||
|
|
||||||
use DateTimeZone;
|
use DateTimeZone;
|
||||||
use e_date;
|
use eShims;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@@ -83,10 +83,10 @@ trait StrptimeTrait
|
|||||||
|
|
||||||
for ($i = 1; $i <= 12; $i++)
|
for ($i = 1; $i <= 12; $i++)
|
||||||
{
|
{
|
||||||
$k = @strftime('%B', mktime(0, 0, 0, $i));
|
$k = eShims::strftime('%B', mktime(0, 0, 0, $i));
|
||||||
$fullmonth[$k] = $i;
|
$fullmonth[$k] = $i;
|
||||||
|
|
||||||
$j = @strftime('%b', mktime(0, 0, 0, $i));
|
$j = eShims::strftime('%b', mktime(0, 0, 0, $i));
|
||||||
$abrevmonth[$j] = $i;
|
$abrevmonth[$j] = $i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -22,10 +22,10 @@
|
|||||||
$siteadminemail = e107::pref('core','siteadminemail');
|
$siteadminemail = e107::pref('core','siteadminemail');
|
||||||
|
|
||||||
$cron[] = array(
|
$cron[] = array(
|
||||||
'name' => LANA_FAQ_CRON_1,
|
'name' => defset('LANA_FAQ_CRON_1'),
|
||||||
'function' => "unanswered",
|
'function' => "unanswered",
|
||||||
'category' => "notify",
|
'category' => "notify",
|
||||||
'description' => $tp->lanVars(LANA_FAQ_CRON_2, $siteadminemail)
|
'description' => $tp->lanVars(defset('LANA_FAQ_CRON_2'), $siteadminemail)
|
||||||
);
|
);
|
||||||
|
|
||||||
return $cron;
|
return $cron;
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
// $questions = array( "<i>Test Question</i><br /><small>".$tp->toDate(time(),'short')."</small>");
|
// $questions = array( "<i>Test Question</i><br /><small>".$tp->toDate(time(),'short')."</small>");
|
||||||
|
|
||||||
|
|
||||||
$name = SITENAME." ".LAN_AUTOMATION;
|
$name = SITENAME." ".defset('LAN_AUTOMATION');
|
||||||
|
|
||||||
$email = e107::pref('core','siteadminemail');
|
$email = e107::pref('core','siteadminemail');
|
||||||
$name = e107::pref('core','siteadmin');
|
$name = e107::pref('core','siteadmin');
|
||||||
|
Reference in New Issue
Block a user