DokuWiki

It's better when it's simple

User Tools

Site Tools


config:license

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
config:license [2009-11-28 10:57]
kazmiya
config:license [2016-04-29 14:11] (current)
62.73.146.4 fixed space between ''license'' and 'is'
Line 1: Line 1:
 ====== Configuration Setting: license ====== ====== Configuration Setting: license ======
  
-This setting configures the license under which the content of your wiki can be distributed. The licenses you can choose in this setting are configured in the ''conf/license.php''. By default it contains a list of [[http://www.creativecommons.org|Creative Commons]] licenses.+This setting configures the license under which the content of your wiki can be distributed. The licenses you can choose in this setting are configured in the ''[[https://github.com/splitbrain/dokuwiki/blob/master/conf/license.php|conf/license.php]]''. By default it contains a list of [[http://www.creativecommons.org|Creative Commons]] licenses and [[http://www.gnu.org/licenses/fdl.html|GNU FDL]].
  
   * Type: String   * Type: String
Line 21: Line 21:
 <code php> <code php>
 <?php <?php
-$license['license'] = array(+$license['license-name'] = array(
     'name' => 'Full Name of the License',     'name' => 'Full Name of the License',
     'url'  => 'http://example.com/license',     'url'  => 'http://example.com/license',
 ); );
-?> 
 </code> </code>
  
-Array key ''license'' is the short name of the chosen license as it is used in the config setting mentioned above.+Array key ''license-name'' from the table ''license'' is the short name of the chosen license as it is used in the config setting value ''$conf['license']'' mentioned above.
  
-For each license an image named like the short name (ending in ''.gif'' or ''.png'' should be placed in ''lib/images/license/button'' (80x15 pixel) and ''lib/images/license/badge'' (88x31 pixel).+For each license an image named like the short name (ending in ''.gif'' or ''.png''should be placed in ''lib/images/license/button'' (80x15 pixel) and ''lib/images/license/badge'' (88x31 pixel).
  
 ===== See also ===== ===== See also =====
  
   * [[:config:|Configuring DokuWiki]]   * [[:config:|Configuring DokuWiki]]
config/license.1259402257.txt.gz ยท Last modified: 2009-11-28 10:57 (external edit)