mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Removed PHP8-only code.
This commit is contained in:
@@ -257,7 +257,7 @@ class theme_admin extends e_admin_dispatcher
|
|||||||
/**
|
/**
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
private function getAllRoutes(): array
|
private function getAllRoutes()
|
||||||
{
|
{
|
||||||
|
|
||||||
$legacy = array(
|
$legacy = array(
|
||||||
@@ -1172,7 +1172,7 @@ class theme_admin_form_ui extends e_admin_form_ui
|
|||||||
|
|
||||||
e107::getSession()->set('thememanager/online/'.$theme['id'], $theme);
|
e107::getSession()->set('thememanager/online/'.$theme['id'], $theme);
|
||||||
|
|
||||||
$d = http_build_query($srcData,false,'&');
|
$d = http_build_query($srcData,false);
|
||||||
$base64 = base64_encode($d);
|
$base64 = base64_encode($d);
|
||||||
|
|
||||||
$id = $this->name2id($theme['name']);
|
$id = $this->name2id($theme['name']);
|
||||||
|
Reference in New Issue
Block a user