mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 21:32:09 +02:00
Plugin script tests and PHP8 fixes.
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
//TODO homogenisation with languagelinks + do not force www + unobtrusive redirect
|
||||
if ( ! defined('e107_INIT')) { exit(); }
|
||||
|
||||
require_once(e_HANDLER.'language_class.php');
|
||||
$slng = new language;
|
||||
e107::plugLan('user', null);
|
||||
$slng = e107::getLanguage();
|
||||
|
||||
$languageList = explode(',', e_LANLIST);
|
||||
sort($languageList);
|
||||
|
@@ -66,6 +66,8 @@ if (isset($_POST['update_theme']))
|
||||
}
|
||||
}
|
||||
|
||||
$themeList = array();
|
||||
|
||||
if (isset($pref['allowed_themes']))
|
||||
{
|
||||
$allThemes = FALSE;
|
||||
|
Reference in New Issue
Block a user