Browse Source

add version number to bootinfo

version-14
Pratik Vyas 11 years ago
parent
commit
1d572f6fb6
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      webnotes/boot.py

+ 2
- 0
webnotes/boot.py View File

@@ -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,'')!=''"""))


Loading…
Cancel
Save