diff --git a/install.sh b/install.sh index fec3e94..8a03467 100755 --- a/install.sh +++ b/install.sh @@ -11,3 +11,7 @@ else < cherrypy.config.example > cherrypy.config echo "created cherrypy.config. Now edit it to taste ;)" fi +if [ ! -f appdir.py ] ; then + echo "# Stupid but effective trick to know where we are:">appdir.py + echo "APPDIR = '$(pwd)'">appdir.py +fi diff --git a/templates/footer.html b/templates/footer.html index 83a53e5..61ef420 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1,3 +1,3 @@