Commit db7343e7 authored by sebt3's avatar sebt3
Browse files

Support newer xenforo version

parent 3540f0bd
......@@ -322,9 +322,9 @@ class AuthContainer extends \core {
if( !($r = $s->fetch()) )
return;
$data = unserialize($r['session_data']);
if (!isset($data['user_id']))
if (!isset($data['userId']))
return;
$xf_uid = $data['user_id'];
$xf_uid = $data['userId'];
/*if (!isset($data['user_id']) || $data['user_id'] != $xf_uid)
return; // probably should log as a security breach attempt
*/
......
......@@ -351,7 +351,7 @@ class Debian extends CorePage {
}
date_default_timezone_set('UTC');
file_put_contents($path.'Release', $this->view->fetch('debian/Release.twig', [
file_put_contents($path.'Release', $this->view->fetch('debian/binRelease.twig', [
'date' => date('D, d M Y H:i:s T'),
'comp' => $comps,
'files' => $files
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment