forked from GNUsocial/gnu-social
		
	Merge branch 'ssltweak'
This commit is contained in:
		@@ -143,17 +143,18 @@ class Plugin
 | 
				
			|||||||
            $server = common_config('plugins', 'server');
 | 
					            $server = common_config('plugins', 'server');
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (is_null($server)) {
 | 
					        if (empty($server)) {
 | 
				
			||||||
            if ($isHTTPS) {
 | 
					            if ($isHTTPS) {
 | 
				
			||||||
                $server = common_config('site', 'sslserver');
 | 
					                $server = common_config('site', 'sslserver');
 | 
				
			||||||
            } else {
 | 
					            }
 | 
				
			||||||
 | 
					            if (empty($server)) {
 | 
				
			||||||
                $server = common_config('site', 'server');
 | 
					                $server = common_config('site', 'server');
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $path = common_config('plugins', 'path');
 | 
					        $path = common_config('plugins', 'path');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (is_null($path)) {
 | 
					        if (empty($path)) {
 | 
				
			||||||
            $path = common_config('site', 'path') . '/plugins/';
 | 
					            $path = common_config('site', 'path') . '/plugins/';
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user