1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-24 00:12:24 +02:00

Issue #5443 Warning removal and precautions.

This commit is contained in:
camer0n
2025-05-01 15:44:23 -07:00
parent 8977fc38e1
commit cc5725d8c2
2 changed files with 6 additions and 6 deletions

View File

@@ -13,7 +13,7 @@
namespace e107\Shims\Internal;
use DateTimeZone;
use e_date;
use eShims;
/**
*
@@ -83,10 +83,10 @@ trait StrptimeTrait
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;
$j = @strftime('%b', mktime(0, 0, 0, $i));
$j = eShims::strftime('%b', mktime(0, 0, 0, $i));
$abrevmonth[$j] = $i;
}

View File

@@ -22,10 +22,10 @@
$siteadminemail = e107::pref('core','siteadminemail');
$cron[] = array(
'name' => LANA_FAQ_CRON_1,
'name' => defset('LANA_FAQ_CRON_1'),
'function' => "unanswered",
'category' => "notify",
'description' => $tp->lanVars(LANA_FAQ_CRON_2, $siteadminemail)
'description' => $tp->lanVars(defset('LANA_FAQ_CRON_2'), $siteadminemail)
);
return $cron;
@@ -60,7 +60,7 @@
// $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');
$name = e107::pref('core','siteadmin');