diff --git a/plugins/xhprof/index.py b/plugins/xhprof/index.py index 2b90fd824..063e91728 100755 --- a/plugins/xhprof/index.py +++ b/plugins/xhprof/index.py @@ -123,10 +123,8 @@ def getConfAppStart(): return pstart def contentReplace(content): - service_path = mw.getServerDir() content = content.replace('{$ROOT_PATH}', mw.getFatherDir()) content = content.replace('{$LOCAL_IP}', mw.getLocalIp()) - return content