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
6c1faa28
Commit
6c1faa28
authored
Feb 20, 2009
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjusted Five.zcml to new skel location. I had an instance created in my buildout :(
parent
c9aabe01
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
src/Products/Five/zcml.py
src/Products/Five/zcml.py
+9
-2
No files found.
src/Products/Five/zcml.py
View file @
6c1faa28
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
$Id$
$Id$
"""
"""
import
os
import
os
import
os.path
from
zope.configuration
import
xmlconfig
from
zope.configuration
import
xmlconfig
_initialized
=
False
_initialized
=
False
...
@@ -30,9 +31,15 @@ def load_site():
...
@@ -30,9 +31,15 @@ def load_site():
return
return
_initialized
=
True
_initialized
=
True
import
Globals
Globals
.
INSTANCE_HOME
# load instance site configuration file
# load instance site configuration file
site_zcml
=
os
.
path
.
join
(
INSTANCE_HOME
,
"etc"
,
"site.zcml"
)
site_zcml
=
os
.
path
.
join
(
Globals
.
INSTANCE_HOME
,
"etc"
,
"site.zcml"
)
skel_site_zcml
=
os
.
path
.
join
(
INSTANCE_HOME
,
"skel"
,
"etc"
,
"site.zcml"
)
import
Zope2.utilities
zope_utilities
=
os
.
path
.
dirname
(
Zope2
.
utilities
.
__file__
)
skel_site_zcml
=
os
.
path
.
join
(
zope_utilities
,
"skel"
,
"etc"
,
"site.zcml"
)
if
os
.
path
.
exists
(
site_zcml
):
if
os
.
path
.
exists
(
site_zcml
):
file
=
site_zcml
file
=
site_zcml
...
...
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