Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
eaa6492e
Commit
eaa6492e
authored
Feb 24, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More legacy 3rd-party support, making sure various sources of
information don't get out of sync.
parent
a542f8c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
lib/python/App/config.py
lib/python/App/config.py
+9
-0
No files found.
lib/python/App/config.py
View file @
eaa6492e
...
@@ -48,6 +48,15 @@ def setConfiguration(cfg):
...
@@ -48,6 +48,15 @@ def setConfiguration(cfg):
__builtin__
.
SOFTWARE_HOME
=
FindHomes
.
SOFTWARE_HOME
=
cfg
.
softwarehome
__builtin__
.
SOFTWARE_HOME
=
FindHomes
.
SOFTWARE_HOME
=
cfg
.
softwarehome
__builtin__
.
ZOPE_HOME
=
FindHomes
.
ZOPE_HOME
=
cfg
.
zopehome
__builtin__
.
ZOPE_HOME
=
FindHomes
.
ZOPE_HOME
=
cfg
.
zopehome
# XXX make sure the environment variables, if set, don't get out
# of sync. This is needed to support 3rd-party code written to
# support Zope versions prior to 2.7.
import
os
os
.
environ
[
"CLIENT_HOME"
]
=
cfg
.
clienthome
os
.
environ
[
"INSTANCE_HOME"
]
=
cfg
.
instancehome
os
.
environ
[
"SOFTWARE_HOME"
]
=
cfg
.
softwarehome
os
.
environ
[
"ZOPE_HOME"
]
=
cfg
.
zopehome
import
sys
import
sys
if
"Globals"
in
sys
.
modules
:
if
"Globals"
in
sys
.
modules
:
# XXX We *really* want to avoid this if Globals hasn't already
# XXX We *really* want to avoid this if Globals hasn't already
...
...
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