1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-09 08:06:38 +02:00

LAN Fix, Notice removal and stats trigger.

This commit is contained in:
Cameron
2016-12-22 13:11:26 -08:00
parent 34f96ff932
commit abe3b355d4
3 changed files with 17 additions and 7 deletions

View File

@@ -246,7 +246,7 @@ class e107Update
{
if(!$list = e107::getPlugin()->updateRequired())
{
return;
return false;
}
$frm = e107::getForm();
@@ -1961,5 +1961,18 @@ function convert_serialized($serializedData, $type='')
return $data;
}
function theme_foot()
{
global $pref;
if(!empty($_POST['update_core']['706_to_800']))
{
$data = array('name'=>SITENAME, 'theme'=>$pref['sitetheme'], 'language'=>e_LANGUAGE, 'url'=>SITEURL, 'type'=>'upgrade');
$base = base64_encode(http_build_query($data, null, '&'));
$url = "https://e107.org/e-install/".$base;
return "<img src='".$url."' style='width:1px; height:1px;border:0' />";
}
}
?>