Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
remove ALLOWED_SUBDOMAIN, update DOMAIN
Browse files Browse the repository at this point in the history
  • Loading branch information
nopri committed Oct 15, 2012
1 parent 802de3f commit b5bdd40
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app.py
Expand Up @@ -68,14 +68,13 @@ def cget(section, option, default='', strip=True):
############################### CONSTANT ############################### ############################### CONSTANT ###############################




VERSION = '0.4' VERSION = '0.5'
NAME = 'Online Store' NAME = 'Online Store'
PRECISION = 2 PRECISION = 2
FORCE_PROMOTE = False FORCE_PROMOTE = False
PS = os.path.sep PS = os.path.sep
CURDIR = os.path.dirname(__file__) CURDIR = os.path.dirname(__file__)
DOMAIN = CURDIR.split(PS)[-1] DOMAIN = web.ctx.env.get('host', 'unknown')
ALLOWED_SUBDOMAIN = ['www']
CONFIG_FILE_DEFAULT = 'config.ini' CONFIG_FILE_DEFAULT = 'config.ini'
BASEURL_DEFAULT = '/store' BASEURL_DEFAULT = '/store'
HOME_DEFAULT = '/product' HOME_DEFAULT = '/product'
Expand Down

0 comments on commit b5bdd40

Please sign in to comment.