Revision c7904e2c
Added by Marc Dequènes about 15 years ago
- ID c7904e2c61b6eaa81c193b40bf87c9332410cf9a
lib/cyborghood/base.rb | ||
---|---|---|
include Singleton
|
||
|
||
CFG_DIR = './config/'
|
||
WORK_DIR = './var/lib/cyborghood/'
|
||
|
||
CONFFILE_GLOBAL = "cyborghood.conf"
|
||
CONFFILE_BOT = "cyborghood_%s.conf"
|
||
... | ... | |
end
|
||
end
|
||
|
||
# temporary
|
||
def work_dir
|
||
WORK_DIR
|
||
end
|
||
|
||
private
|
||
|
||
def self.fetch_config(name = nil)
|
Also available in: Unified diff
[evol] replay protection #2 (should be done), and moved 'run' directory in the new workdir (temporary code until real path configuration)