diff --git a/Makefile b/Makefile index f485e664..44c105ff 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ update: wget -O gluon/contrib/feedparser.py http://feedparser.googlecode.com/svn/trunk/feedparser/feedparser.py wget -O gluon/contrib/simplejsonrpc.py http://rad2py.googlecode.com/hg/ide2py/simplejsonrpc.py src: - echo 'Version 1.99.3 ('`date +%Y-%m-%d\ %H:%M:%S`') dev' > VERSION + echo 'Version 1.99.3 ('`date +%Y-%m-%d\ %H:%M:%S`') stable' > VERSION ### rm -f all junk files make clean ### clean up baisc apps diff --git a/VERSION b/VERSION index a2ab821f..fe069231 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.3 (2011-12-09 09:28:19) dev +Version 1.99.3 (2011-12-09 09:32:56) stable diff --git a/applications/admin/controllers/default.py b/applications/admin/controllers/default.py index 291cb471..2033d154 100644 --- a/applications/admin/controllers/default.py +++ b/applications/admin/controllers/default.py @@ -1,10 +1,13 @@ # coding: utf8 -is_mobile=request.user_agent().is_mobile -if is_mobile: - response.view = response.view.replace( - 'default/','default.mobile/') - response.menu = [] +EXPERIMENTAL_STUFF = False + +if EXPERIMENTAL_STUFF: + is_mobile=request.user_agent().is_mobile + if is_mobile: + response.view = response.view.replace( + 'default/','default.mobile/') + response.menu = [] from gluon.admin import * from gluon.fileutils import abspath, read_file, write_file