Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
9bb5d80b
Commit
9bb5d80b
authored
Dec 16, 2006
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 345405: showdependencygraph.cgi: Dependency Graphs are broken on mod_perl
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
parent
28468d54
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
Constants.pm
Bugzilla/Constants.pm
+1
-1
showdependencygraph.cgi
showdependencygraph.cgi
+5
-0
No files found.
Bugzilla/Constants.pm
View file @
9bb5d80b
...
...
@@ -433,7 +433,7 @@ sub bz_locations {
# change showdependencygraph.cgi to set image_url to the correct
# location.
# The script should really generate these graphs directly...
'webdotdir'
=>
"$datadir/webdot"
,
'webdotdir'
=>
"$
libpath/$
datadir/webdot"
,
'extensionsdir'
=>
"$libpath/extensions"
,
};
}
...
...
showdependencygraph.cgi
View file @
9bb5d80b
...
...
@@ -247,6 +247,11 @@ if ($webdotbase =~ /^https?:/) {
# On Windows $pngfilename will contain \ instead of /
$pngfilename
=~
s
|\\|/|
g
if
$^O
eq
'MSWin32'
;
# Under mod_perl, pngfilename will have an absolute path, and we
# need to make that into a relative path.
my
$cgi_root
=
bz_locations
()
->
{
cgi_path
};
$pngfilename
=~
s/^\Q$cgi_root\E//
;
$vars
->
{
'image_url'
}
=
$pngfilename
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment