mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Fix for earlier PHP versions
This commit is contained in:
@@ -104,7 +104,12 @@ class admin_start
|
||||
private $allowed_types = null;
|
||||
private $refresh = false;
|
||||
|
||||
private $deprecated = array(
|
||||
private $deprecated = array();
|
||||
|
||||
function __construct()
|
||||
{
|
||||
|
||||
$this->deprecated = array(
|
||||
e_ADMIN."ad_links.php",
|
||||
e_PLUGIN."tinymce4/e_meta.php",
|
||||
e_THEME."bootstrap3/css/bootstrap_dark.css",
|
||||
@@ -127,8 +132,6 @@ class admin_start
|
||||
);
|
||||
|
||||
|
||||
function __construct()
|
||||
{
|
||||
|
||||
if(!empty($_POST['delete-deprecated']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user