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
265635cb
Commit
265635cb
authored
Sep 19, 1998
by
terry%netscape.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whoops. Ignore anything that tries to override the version number in
the params file.
parent
9de262ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
globals.pl
globals.pl
+6
-0
No files found.
globals.pl
View file @
265635cb
...
...
@@ -461,7 +461,13 @@ sub Param {
}
# Um, maybe we haven't sourced in the params at all yet.
if
(
stat
(
"data/params"
))
{
# Write down and restore the version # here. That way, we get around
# anyone who maliciously tries to tweak the version number by editing
# the params file. Not to mention that in 2.0, there was a bug that
# wrote the version number out to the params file...
my
$v
=
$::param
{
'version'
};
require
"data/params"
;
$::param
{
'version'
}
=
$v
;
}
if
(
defined
$::param
{
$value
})
{
return
$::param
{
$value
};
...
...
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