From 1d572f6fb647d0141b0d919bb5d32e2c64d34456 Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Wed, 15 Jan 2014 14:23:58 +0530 Subject: [PATCH] add version number to bootinfo --- webnotes/boot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webnotes/boot.py b/webnotes/boot.py index 2bb53276f9..47908fe41c 100644 --- a/webnotes/boot.py +++ b/webnotes/boot.py @@ -37,6 +37,8 @@ def get_bootinfo(): # home page bootinfo.modules = webnotes.get_config().modules + bootinfo.app_version = webnotes.get_config().app_version + bootinfo.framework_version = webnotes.get_config().framework_version bootinfo.hidden_modules = webnotes.conn.get_global("hidden_modules") bootinfo.doctype_icons = dict(webnotes.conn.sql("""select name, icon from tabDocType where ifnull(icon,'')!=''"""))