Skip to content

Commit

Permalink
Item12246: {Cache}{DSN} is a default used only by the Generic driver
Browse files Browse the repository at this point in the history
  • Loading branch information
Comment committed May 19, 2015
1 parent 796d3aa commit 7826ef0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/lib/Foswiki.spec
Expand Up @@ -1607,7 +1607,10 @@ $Foswiki::cfg{Cache}{DependencyFilter} =
$Foswiki::cfg{Cache}{DBI}{TablePrefix} = 'foswiki_cache';

# **STRING 80 LABEL="DBI DSN" DISPLAY_IF="{Cache}{Enabled} && {Cache}{Implementation} == 'Foswiki::PageCache::DBI::Generic' " CHECK="iff:'{Cache}{Enabled} && {Cache}{Implementation} =~ /Generic$/'"**
# Generic database driver. See the docu of your DBI driver for the exact syntax of the DSN parameter string.
# Default database driver DSN. See the documentation of your DBI driver for the
# exact syntax of the DSN parameter string. *NOTE* this is a default, used only
# by the 'Generic' DBI driver. It is ignored by the SQLite, MySQL and
# PostGreSQL drivers, which all have their own ways of setting the DSN.
$Foswiki::cfg{Cache}{DBI}{DSN} = '';

# **STRING 80 LABEL="Database Username" DISPLAY_IF="{Cache}{Enabled} && {Cache}{Implementation} == 'Foswiki::PageCache::DBI::Generic' " CHECK="iff:'{Cache}{Enabled} && {Cache}{Implementation} =~ /DBI::Generic$/ '"**
Expand All @@ -1619,7 +1622,7 @@ $Foswiki::cfg{Cache}{DBI}{Username} = '';
$Foswiki::cfg{Cache}{DBI}{Password} = '';

# **STRING 80 LABEL="Database Filename" DISPLAY_IF="{Cache}{Enabled} && {Cache}{Implementation} == 'Foswiki::PageCache::DBI::SQLite'" CHECK="iff:'{Cache}{Enabled} && {Cache}{Implementation} =~ /DBI::SQLite$/'"**
# Name of the SQL
# Name of the SQLite database file.
$Foswiki::cfg{Cache}{DBI}{SQLite}{Filename} =
'$Foswiki::cfg{WorkingDir}/sqlite.db';

Expand Down

0 comments on commit 7826ef0

Please sign in to comment.