diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/dokuwiki.php | 3 | ||||
-rw-r--r-- | conf/license.php | 40 |
2 files changed, 42 insertions, 1 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php index 5e25c4456..ab4d71387 100644 --- a/conf/dokuwiki.php +++ b/conf/dokuwiki.php @@ -25,7 +25,8 @@ $conf['allowdebug'] = 0; //allow debug output, enable if needed $conf['start'] = 'start'; //name of start page $conf['title'] = 'DokuWiki'; //what to show in the title -$conf['template'] = 'default'; //see tpl directory +$conf['template'] = 'default'; //see lib/tpl directory +$conf['license'] = 'cc-by-nc-sa'; //see conf/license.php $conf['fullpath'] = 0; //show full path of the document or relative to datadir only? 0|1 $conf['recent'] = 20; //how many entries to show in recent $conf['breadcrumbs'] = 10; //how many recent visited pages to show diff --git a/conf/license.php b/conf/license.php new file mode 100644 index 000000000..9a753baa7 --- /dev/null +++ b/conf/license.php @@ -0,0 +1,40 @@ +<?php +/** + * This file defines multiple available licenses you can license your + * wiki contents under. Do not change this file, but create a + * license.local.php instead. + */ + +$license['cc-by'] = array( + 'name' => 'CC Attribution 3.0 Unported', + 'url' => 'http://creativecommons.org/licenses/by/3.0/', +); +$license['cc-by-nc'] = array( + 'name' => 'CC Attribution-Noncommercial 3.0 Unported', + 'url' => 'http://creativecommons.org/licenses/by-nc/3.0/', +); +$license['cc-by-nc-nd'] = array( + 'name' => 'CC Attribution-Noncommercial-No Derivative Works 3.0 Unported', + 'url' => 'http://creativecommons.org/licenses/by-nc-nd/3.0/', +); +$license['cc-by-nc-sa'] = array( + 'name' => 'CC Attribution-Noncommercial-Share Alike 3.0 Unported', + 'url' => 'http://creativecommons.org/licenses/by-nc-sa/3.0/', +); +$license['cc-by-nd'] = array( + 'name' => 'CC Attribution-No Derivative Works 3.0 Unported', + 'url' => 'cc-by-nd', +); +$license['cc-by-sa'] = array( + 'name' => 'CC Attribution-Share Alike 3.0 Unported', + 'url' => 'http://creativecommons.org/licenses/by-sa/3.0/', +); +$license['publicdomain'] = array( + 'name' => 'Public Domain', + 'url' => 'http://creativecommons.org/licenses/publicdomain/', +); +$license['gnufdl'] = array( + 'name' => 'GNU Free Documentation License 1.2', + 'url' => 'http://www.gnu.org/licenses/fdl-1.2.html', +); + |