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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
config:license [2009-11-28 10:57] kazmiyaconfig:license [2016-04-29 14:11] – fixed space between ''license'' and 'is' 62.73.146.4
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.txt · Last modified: 2023-02-28 21:14 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki