[Moin-user] Using directory name as WikiName

kent sin kentsin at yahoo.com
Wed Dec 11 08:53:04 EST 2002


I am making a wikifarm, I would like to make the
moin_config.py untouch.

What I want is to use the directory name as sitename
and interwikiname

I have try to :

import sys
import os.path

sitename = os.path.dirname(sys.path[0])
interwikiname = sitename

But it sets the sitename as blank. Are there any way
to set sitename as the directory name? I am using
moinmoin on a win 98.

Rgs,

Kent Sin

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com




More information about the Moin-user mailing list