diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-11-14 15:55:04 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-11-14 15:55:04 +0100 |
commit | 23e2f920f5ed52cf9b354f61fcff548a03335ecc (patch) | |
tree | b5b96b7455f125b8ea495b7260e0458686641277 /phpBB/phpbb | |
parent | 692fbf732f46eac4e673d0e317cd145eb446c999 (diff) | |
download | forums-23e2f920f5ed52cf9b354f61fcff548a03335ecc.tar forums-23e2f920f5ed52cf9b354f61fcff548a03335ecc.tar.gz forums-23e2f920f5ed52cf9b354f61fcff548a03335ecc.tar.bz2 forums-23e2f920f5ed52cf9b354f61fcff548a03335ecc.tar.xz forums-23e2f920f5ed52cf9b354f61fcff548a03335ecc.zip |
[ticket/12018] Use path_helper for admin style CSS in sql report
The path to the admin style CSS is currently created with $phpbb_admin_path.
We should however use the path_helper to correctly link to this file in order
to have a correct link on pages like extensions
PHPBB3-12018
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/db/driver/driver.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/db/driver/driver.php b/phpBB/phpbb/db/driver/driver.php index 58d0b61519..d721ed2eb7 100644 --- a/phpBB/phpbb/db/driver/driver.php +++ b/phpBB/phpbb/db/driver/driver.php @@ -816,7 +816,7 @@ class driver */ function sql_report($mode, $query = '') { - global $cache, $starttime, $phpbb_root_path, $phpbb_admin_path, $user; + global $cache, $starttime, $phpbb_root_path, $phpbb_path_helper, $user; global $request; if (is_object($request) && !$request->variable('explain', false)) @@ -846,7 +846,7 @@ class driver <head> <meta charset="utf-8"> <title>SQL Report</title> - <link href="' . htmlspecialchars($phpbb_admin_path) . 'style/admin.css" rel="stylesheet" type="text/css" media="screen" /> + <link href="' . htmlspecialchars($phpbb_path_helper->update_web_root_path($phpbb_root_path) . $phpbb_path_helper->get_adm_relative_path()) . 'style/admin.css" rel="stylesheet" type="text/css" media="screen" /> </head> <body id="errorpage"> <div id="wrap"> |