diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-05-02 13:16:32 -0400 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-05-02 13:16:32 -0400 |
commit | ca9e3eb5282a933237636baf7e92a6b072baf477 (patch) | |
tree | b8f0d1fb74aef599bf14a198846563deabd2226d /phpBB | |
parent | 725498075396461f393cd05eb710f7847683c6b9 (diff) | |
parent | 5808c9fae1dad98a88a02e5b43c4c45f93e3b0b7 (diff) | |
download | forums-ca9e3eb5282a933237636baf7e92a6b072baf477.tar forums-ca9e3eb5282a933237636baf7e92a6b072baf477.tar.gz forums-ca9e3eb5282a933237636baf7e92a6b072baf477.tar.bz2 forums-ca9e3eb5282a933237636baf7e92a6b072baf477.tar.xz forums-ca9e3eb5282a933237636baf7e92a6b072baf477.zip |
Merge pull request #4815 from kasimi/ticket/15187
[ticket/15187] Add paths of newly enabled extensions to template
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/acp/acp_extensions.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php index 9e72ab83f8..f0348817c8 100644 --- a/phpBB/includes/acp/acp_extensions.php +++ b/phpBB/includes/acp/acp_extensions.php @@ -212,6 +212,15 @@ class acp_extensions 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)); } catch (\phpbb\db\migration\exception $e) |