mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
cf603f7025
1 changed files with 9 additions and 0 deletions
|
@ -254,6 +254,15 @@ class acp_extensions
|
||||||
meta_refresh(0, $this->u_action . '&action=enable&ext_name=' . urlencode($ext_name) . '&hash=' . generate_link_hash('enable.' . $ext_name));
|
meta_refresh(0, $this->u_action . '&action=enable&ext_name=' . urlencode($ext_name) . '&hash=' . generate_link_hash('enable.' . $ext_name));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Update custom style for admin area
|
||||||
|
$this->template->set_custom_style(array(
|
||||||
|
array(
|
||||||
|
'name' => 'adm',
|
||||||
|
'ext_path' => 'adm/style/',
|
||||||
|
),
|
||||||
|
), array($phpbb_root_path . 'adm/style'));
|
||||||
|
|
||||||
$this->log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_EXT_ENABLE', time(), array($ext_name));
|
$this->log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_EXT_ENABLE', time(), array($ext_name));
|
||||||
}
|
}
|
||||||
catch (\phpbb\db\migration\exception $e)
|
catch (\phpbb\db\migration\exception $e)
|
||||||
|
|
Loading…
Add table
Reference in a new issue