mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	settings: Fix definition of DEPLOY_ROOT in dev_settings too.
This commit is contained in:
		@@ -10,7 +10,7 @@ from typing import Set
 | 
			
		||||
# chdir without having problems accessing it.  Unfortunately, this
 | 
			
		||||
# means we need a duplicate definition of DEPLOY_ROOT with the one in
 | 
			
		||||
# settings.py.
 | 
			
		||||
DEPLOY_ROOT = os.path.join(os.path.realpath(os.path.dirname(__file__)), '..')
 | 
			
		||||
DEPLOY_ROOT = os.path.realpath(os.path.dirname(os.path.dirname(__file__)))
 | 
			
		||||
LOCAL_UPLOADS_DIR = os.path.join(DEPLOY_ROOT, 'var/uploads')
 | 
			
		||||
 | 
			
		||||
FORWARD_ADDRESS_CONFIG_FILE = "var/forward_address.ini"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user