mirror of
https://github.com/greenshot/greenshot
synced 2025-07-15 01:23:47 -07:00
Forcing .NET Full-Profile check while loading the plugin, and not later. This should fix Bug #3533796, by not allowing to use a certain plugin.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1933 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
b527eefb77
commit
be2614649e
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,7 @@ using System.Diagnostics;
|
|||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Windows;
|
||||
using System.Web;
|
||||
|
||||
using Confluence;
|
||||
using Greenshot.Plugin;
|
||||
|
@ -105,6 +106,9 @@ namespace GreenshotConfluencePlugin {
|
|||
host = pluginHost;
|
||||
ConfluencePluginAttributes = myAttributes;
|
||||
|
||||
// Force exception when there is no Full Profile, this will make sure the plugin isn't loaded
|
||||
HttpUtility.UrlEncode("bla");
|
||||
|
||||
// Register configuration (don't need the configuration itself)
|
||||
config = IniConfig.GetIniSection<ConfluenceConfiguration>();
|
||||
if(config.IsDirty) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue