aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/driver/driver.php
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-12-29 13:45:40 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2012-12-29 13:45:40 -0500
commit4dcc8cabae670e0ee57a489e7e13c2f93d99753a (patch)
tree79f36cb8cb6db68d5b93deec7999633e5047e4be /phpBB/includes/db/driver/driver.php
parentf9354b98d88bb9c6e212a68de813f75508b7dafc (diff)
parent61391f648c95251466f805f148f1656e940f2027 (diff)
downloadforums-4dcc8cabae670e0ee57a489e7e13c2f93d99753a.tar
forums-4dcc8cabae670e0ee57a489e7e13c2f93d99753a.tar.gz
forums-4dcc8cabae670e0ee57a489e7e13c2f93d99753a.tar.bz2
forums-4dcc8cabae670e0ee57a489e7e13c2f93d99753a.tar.xz
forums-4dcc8cabae670e0ee57a489e7e13c2f93d99753a.zip
Merge PR #1130 branch 'EXreaction/ticket/11259' into develop
* EXreaction/ticket/11259: [ticket/11259] htmlspecialchars($phpbb_admin_path) [ticket/11259] adm_relative_path -> phpbb_adm_relative_path [ticket/11259] Also make adm_relative_path available in the container [ticket/11259] Make phpbb_admin_path available everywhere Conflicts: phpBB/install/index.php phpBB/install/install_update.php
Diffstat (limited to 'phpBB/includes/db/driver/driver.php')
-rw-r--r--phpBB/includes/db/driver/driver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/db/driver/driver.php b/phpBB/includes/db/driver/driver.php
index 25daa7243d..52ac21a79f 100644
--- a/phpBB/includes/db/driver/driver.php
+++ b/phpBB/includes/db/driver/driver.php
@@ -822,7 +822,7 @@ class phpbb_db_driver
*/
function sql_report($mode, $query = '')
{
- global $cache, $starttime, $phpbb_root_path, $user;
+ global $cache, $starttime, $phpbb_root_path, $phpbb_admin_path, $user;
global $request;
if (is_object($request) && !$request->variable('explain', false))
@@ -852,7 +852,7 @@ class phpbb_db_driver
<head>
<meta charset="utf-8">
<title>SQL Report</title>
- <link href="' . $phpbb_root_path . 'adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" />
+ <link href="' . htmlspecialchars($phpbb_admin_path) . 'style/admin.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body id="errorpage">
<div id="wrap">