aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_extensions.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-05-02 13:16:36 -0400
committerMarc Alexander <admin@m-a-styles.de>2017-05-02 13:16:36 -0400
commit877760ef9805be8b431c2fe43ef6ab38c07ec02d (patch)
tree6869905874cf6466f859e9ef3372c8d5be38ea0b /phpBB/includes/acp/acp_extensions.php
parent521760aeb73d2801e22665a45ea0aace8741b61d (diff)
parentca9e3eb5282a933237636baf7e92a6b072baf477 (diff)
downloadforums-877760ef9805be8b431c2fe43ef6ab38c07ec02d.tar
forums-877760ef9805be8b431c2fe43ef6ab38c07ec02d.tar.gz
forums-877760ef9805be8b431c2fe43ef6ab38c07ec02d.tar.bz2
forums-877760ef9805be8b431c2fe43ef6ab38c07ec02d.tar.xz
forums-877760ef9805be8b431c2fe43ef6ab38c07ec02d.zip
Merge branch '3.1.x' into 3.2.x
Diffstat (limited to 'phpBB/includes/acp/acp_extensions.php')
-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 c08674841c..6f65dc9fa0 100644
--- a/phpBB/includes/acp/acp_extensions.php
+++ b/phpBB/includes/acp/acp_extensions.php
@@ -216,6 +216,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)