aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-05-02 13:16:32 -0400
committerMarc Alexander <admin@m-a-styles.de>2017-05-02 13:16:32 -0400
commitca9e3eb5282a933237636baf7e92a6b072baf477 (patch)
treeb8f0d1fb74aef599bf14a198846563deabd2226d /phpBB
parent725498075396461f393cd05eb710f7847683c6b9 (diff)
parent5808c9fae1dad98a88a02e5b43c4c45f93e3b0b7 (diff)
downloadforums-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.php9
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 . '&amp;action=enable&amp;ext_name=' . urlencode($ext_name) . '&amp;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)