mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	fix urls
This commit is contained in:
		@@ -493,7 +493,7 @@ accountsController.uploadPicture = function (req, res, next) {
 | 
			
		||||
				return;
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			var absolutePath = path.join(nconf.get('base_dir'), nconf.get('upload_path'), path.basename(oldpicture));
 | 
			
		||||
			var absolutePath = path.join(nconf.get('base_dir'), nconf.get('upload_path'), 'profile', path.basename(oldpicture));
 | 
			
		||||
 | 
			
		||||
			fs.unlink(absolutePath, function (err) {
 | 
			
		||||
				if (err) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user