aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_update.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-28 00:23:37 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-28 00:23:37 +0200
commit08c01b7cee629701dc62b32b03eb5543e8c9d196 (patch)
treec5c5627c54d7a930e1cec89ea2b8a973b1b79ebf /phpBB/install/install_update.php
parent83fc8725daf163398300ff6ddc6256b9444b39cd (diff)
parent05cd25a88b551d7338596cc6634e95cb371f565d (diff)
downloadforums-08c01b7cee629701dc62b32b03eb5543e8c9d196.tar
forums-08c01b7cee629701dc62b32b03eb5543e8c9d196.tar.gz
forums-08c01b7cee629701dc62b32b03eb5543e8c9d196.tar.bz2
forums-08c01b7cee629701dc62b32b03eb5543e8c9d196.tar.xz
forums-08c01b7cee629701dc62b32b03eb5543e8c9d196.zip
Merge pull request #2455 from Nicofuma/ticket/12509
[ticket/12509] Add an option to set the path of custom style directory (ie: email templates) for extensions * Nicofuma/ticket/12509: [ticket/12509] Add example in doc block [ticket/12509] Add missing ',' in arrays [ticket/12509] Update calls to set_custom_style in forgotten places [ticket/12509] Fix path in adm/index.php [ticket/12509] Fix typo in adm/index.php [ticket/12509] Fix doc block [ticket/12509] Fix the call to set_custom_file in adm/index and messenger [ticket/12509] Update acp custom_style setter [ticket/12509] Add an option to set the path of custom file for extensions
Diffstat (limited to 'phpBB/install/install_update.php')
-rw-r--r--phpBB/install/install_update.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php
index 87b7d8d703..c2f7b191a7 100644
--- a/phpBB/install/install_update.php
+++ b/phpBB/install/install_update.php
@@ -141,7 +141,12 @@ class install_update extends module
// Set custom template again. ;)
$paths = array($phpbb_root_path . 'install/update/new/adm/style', $phpbb_admin_path . 'style');
$paths = array_filter($paths, 'is_dir');
- $template->set_custom_style('adm', $paths);
+ $template->set_custom_style(array(
+ array(
+ 'name' => 'adm',
+ 'ext_path' => 'adm/style/',
+ ),
+ ), $paths);
$template->assign_vars(array(
'S_USER_LANG' => $user->lang['USER_LANG'],