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
07fc6c82
Commit
07fc6c82
authored
Nov 21, 2003
by
kiko%async.com.br
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 226217: check_languages bustage resulting from sanitizing in
bug 199502. Applied myk's suggestion in patch checked in. r=myk, a=myk.
parent
fda0c6bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
defparams.pl
defparams.pl
+3
-3
No files found.
defparams.pl
View file @
07fc6c82
...
...
@@ -150,13 +150,13 @@ sub check_loginmethod {
}
sub
check_languages
{
my
@languages
=
split
/
,/
,
trim
(
$_
);
my
@languages
=
split
/
[,\s]+/
,
trim
(
$_
[
0
]
);
if
(
!
scalar
(
@languages
))
{
return
"You need to specify a language tag."
}
foreach
my
$language
(
@languages
)
{
if
(
!
-
d
'template/'
.
trim
(
$language
)
.
'/custom'
&&
!
-
d
'template/'
.
trim
(
$language
)
.
'/default'
)
{
if
(
!
-
d
"template/$language/custom"
&&
!
-
d
"template/$language/default"
)
{
return
"The template directory for $language does not exist"
;
}
}
...
...
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