summaryrefslogtreecommitdiff
path: root/cfg.py
diff options
context:
space:
mode:
authorJames Vasile <james@hackervisions.org>2011-02-22 13:32:45 -0500
committerJames Vasile <james@hackervisions.org>2011-02-22 13:32:45 -0500
commit35071d7212cec1fc23e8204bfd392a116a5313ed (patch)
tree1c75a525227769fc94f303b5c0233882d90ef2a8 /cfg.py
...
Diffstat (limited to 'cfg.py')
-rw-r--r--cfg.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/cfg.py b/cfg.py
new file mode 100644
index 0000000..db237fc
--- /dev/null
+++ b/cfg.py
@@ -0,0 +1,16 @@
+from menu import Menu
+import os
+
+file_root = os.path.dirname(os.path.realpath(__file__))
+data_dir = os.path.join(file_root, "data")
+store_file = os.path.join(data_dir, "store.sqlite3")
+status_log_file = os.path.join(data_dir, "status.log")
+access_log_file = os.path.join(data_dir, "access.log")
+users_dir = os.path.join(data_dir, "users")
+
+product_name = "Plinth"
+box_name = "Freedom Plug"
+
+html_root = None
+main_menu = Menu()
+