Skip to content

Commit

Permalink
Item1359: Fix configuration spec and add it to manifest.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/ExitPlugin@5217 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
IanBygrave authored and IanBygrave committed Oct 4, 2009
1 parent 9450955 commit 17e2a53
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
21 changes: 10 additions & 11 deletions lib/Foswiki/Plugins/ExitPlugin/Config.spec
@@ -1,9 +1,5 @@
# ---+ Plugins
# ---++ Exitlugin
# This plugin redirects links to external sites via a page of your choice.
# You might want to do that to display a disclaimer
# ("You are leaving foswiki.org, come back soon.")
# or to remove topic names from HTTP referer headers.
# ---+ Extensions
# ---++ ExitPlugin

# **PERL**
# This setting is required to enable executing the exit script from the bin directory
Expand All @@ -19,18 +15,21 @@ $Foswiki::cfg{SwitchBoard}{exit} = [
# An array of strings listing the URI schemes to be redirected
$Foswiki::cfg{Plugins}{ExitPlugin}{Schemes} = ['http', 'https'];

# **URL 80**
# **URL**
# Exit handler
$Foswiki::cfg{Plugins}{ExitPlugin}{RedirectVia} = '%SCRIPTURL%/exit?url=';
$Foswiki::cfg{Plugins}{ExitPlugin}{RedirectVia} = '$Foswiki::cfg{DefaultUrlHost}$Foswiki::cfg{ScriptUrlPath}/exit?url=';

# **PERL**
# An array of strings listing the hosts for which no exit page should be shown.
$Foswiki::cfg{Plugins}{ExitPlugin}{NoExit} = ['.twiki.org', '.foswiki.org'];

# **STRING 30*
# **STRING 30**
# External link marks (you can use an image if you want). These are optional.
#$Foswiki::cfg{Plugins}{ExitPlugin}{Premark} = '';
#$Foswiki::cfg{Plugins}{ExitPlugin}{Postmark} = '';
$Foswiki::cfg{Plugins}{ExitPlugin}{Premark} = '';

# **STRING 30**
# External link marks (you can use an image if you want). These are optional.
$Foswiki::cfg{Plugins}{ExitPlugin}{Postmark} = '';

# **BOOLEAN**
# Include the external link marks withing the HREF tag.
Expand Down
2 changes: 2 additions & 0 deletions lib/Foswiki/Plugins/ExitPlugin/MANIFEST
@@ -1,3 +1,5 @@
bin/exit 0755 CGI script
data/System/ExitPlugin.txt 0644 Plugin doc page
lib/Foswiki/Plugins/ExitPlugin.pm 0444 Plugin Perl module
lib/Foswiki/Plugins/ExitPlugin/Config.spec 0444 Settings

0 comments on commit 17e2a53

Please sign in to comment.