aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinny <vinny@suportephpbb.com.br>2012-10-09 14:29:26 -0300
committerVinny <vinny@suportephpbb.com.br>2012-10-15 14:32:49 -0300
commit571d352eed670ad986bd653a2ac0bd81429c9cf5 (patch)
tree35032fbee8d9d12cad60b8b1018ab967072f0d92
parent5db30e66fd03dacb4bb961afd9672eb9d65ba148 (diff)
downloadforums-571d352eed670ad986bd653a2ac0bd81429c9cf5.tar
forums-571d352eed670ad986bd653a2ac0bd81429c9cf5.tar.gz
forums-571d352eed670ad986bd653a2ac0bd81429c9cf5.tar.bz2
forums-571d352eed670ad986bd653a2ac0bd81429c9cf5.tar.xz
forums-571d352eed670ad986bd653a2ac0bd81429c9cf5.zip
[ticket/11139] Adding the $phpbb_admin_path variable
PHPBB3-11139
-rw-r--r--phpBB/adm/swatch.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/adm/swatch.php b/phpBB/adm/swatch.php
index 5e8984db70..86498a255f 100644
--- a/phpBB/adm/swatch.php
+++ b/phpBB/adm/swatch.php
@@ -21,6 +21,8 @@ $user->session_begin(false);
$auth->acl($user->data);
$user->setup();
+$phpbb_admin_path = (defined('PHPBB_ADMIN_PATH')) ? PHPBB_ADMIN_PATH : './';
+
// Set custom template for admin area
$phpbb_style->set_custom_style('admin', $phpbb_admin_path . 'style', '');