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
10a3d521
Commit
10a3d521
authored
Aug 13, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial
parent
216279ad
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
1 deletion
+70
-1
lib/python/Globals.py
lib/python/Globals.py
+34
-0
lib/python/Main.py
lib/python/Main.py
+34
-0
lib/python/Setup
lib/python/Setup
+2
-1
No files found.
lib/python/Globals.py
0 → 100755
View file @
10a3d521
"""Global definitions"""
__version__
=
'$Revision: 1.1 $'
[
11
:
-
2
]
from
SingleThreadedTransaction
import
PickleDictionary
,
Persistent
from
SingleThreadedTransaction
import
PersistentMapping
import
STPDocumentTemplate
from
App.Dialogs
import
MessageDialog
HTML
=
STPDocumentTemplate
.
HTML
HTMLFile
=
STPDocumentTemplate
.
HTMLFile
try
:
home
=
CUSTOMER_HOME
,
SOFTWARE_HOME
,
SOFTWARE_URL
CUSTOMER_HOME
,
SOFTWARE_HOME
,
SOFTWARE_URL
=
home
except
:
CUSTOMER_HOME
=
'../../customer/private'
SOFTWARE_HOME
=
'../..'
SOFTWARE_URL
=
''
data_dir
=
CUSTOMER_HOME
+
'/var'
BobobaseName
=
'%s/Data.bbb'
%
data_dir
HTML
.
shared_globals
=
[
'SOFTWARE_URL'
]
=
SOFTWARE_URL
##########################################################################
#
# Log
#
# $Log: Globals.py,v $
# Revision 1.1 1997/08/13 18:58:39 jim
# initial
#
#
lib/python/Main.py
0 → 100644
View file @
10a3d521
##############################################################################
#
# Copyright
#
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
# Street, Suite 300, Fredericksburg, Virginia 22401 U.S.A. All
# rights reserved.
#
##############################################################################
import
ni
,
sys
import
Globals
,
OFS
.
Folder
,
OFS
.
Application
,
App
.
ApplicationManager
# Open the application database
Bobobase
=
OFS
.
Application
.
open_bobobase
()
try
:
app
=
Bobobase
[
'Application'
]
except
KeyError
:
app
=
OFS
.
Application
.
Application
()
app
.
app
=
App
.
ApplicationManager
.
ApplicationManager
()
Bobobase
[
'Application'
]
=
app
get_transaction
().
commit
()
bobo_application
=
app
##############################################################################
# Revision Log
#
# $Log: Main.py,v $
# Revision 1.1 1997/08/13 18:58:39 jim
# initial
#
lib/python/Setup
View file @
10a3d521
*shared*
# install Main.py
# install Globals.py
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