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
cca9361a
Commit
cca9361a
authored
Aug 18, 2007
by
wurblzap%gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 392573 â Most CSS files are missing from Dusk/, flooding web server error logs.
Patch by Marc Schumann <wurblzap@gmail.com>; r=LpSolit; a=LpSolit
parent
ff5637d1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
Filesystem.pm
Bugzilla/Install/Filesystem.pm
+13
-7
No files found.
Bugzilla/Install/Filesystem.pm
View file @
cca9361a
...
...
@@ -34,6 +34,7 @@ use Bugzilla::Util;
use
File::
Find
;
use
File::
Path
;
use
File::
Basename
;
use
IO::
File
;
use
POSIX
();
...
...
@@ -201,17 +202,22 @@ sub FILESYSTEM {
);
# Each standard stylesheet has an associated custom stylesheet that
# we create.
foreach
my
$standard
(
<
$skinsdir
/standard/
*.
css
>
)
{
my
$custom
=
$standard
;
$custom
=~
s
|\
Q$skinsdir
\
E
/standard|$skinsdir/c
ustom
|
;
$create_files
{
$custom
}
=
{
perms
=>
$ws_readable
,
contents
=>
<<EOT
# we create. Also, we create placeholders for standard stylesheets
# for contrib skins which don't provide them themselves.
foreach
my
$skin_dir
(
"$skinsdir/custom"
,
<
$skinsdir
/contrib/
*>
)
{
next
unless
-
d
$skin_dir
;
next
if
basename
(
$skin_dir
)
=~
/^cvs$/i
;
foreach
(
<
$skinsdir
/standard/
*.
css
>
)
{
my
$standard_css_file
=
basename
(
$_
);
my
$custom_css_file
=
"$skin_dir/$standard_css_file"
;
$create_files
{
$custom_css_file
}
=
{
perms
=>
$ws_readable
,
contents
=>
<<EOT
/*
* Custom rules for $standard.
* Custom rules for $standard
_css_file
.
* The rules you put here override rules in that stylesheet.
*/
EOT
};
}
}
}
# Because checksetup controls the creation of index.html separately
...
...
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