Skip to content

Commit e76c447

Browse files
Fix 2013-12-08 "Binky" compatibilty issue (un-saveable config)
All onoff configuration switches do not get saved when the user changes the value. The reason was that I used true|false for "onoff" switches although only 1|0 was allowed [1] (never noticed this). It worked for years but the way the configuration gets parsed by DokuWiki was changed [2] [3] after Binky RC2, so the bug affects the current DokuWiki Binky final only. [1] <https://www.dokuwiki.org/config#configuration_options> [2] <dokuwiki/dokuwiki@43e7001> [3] <http://www.freelists.org/post/dokuwiki/SemiUrgent-broken-template-config-in-final-Binky,1>
1 parent df702ca commit e76c447

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

conf/default.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@
3333
}
3434

3535
//header navigation
36-
$conf["prsnl10_headernav"] = true; //TRUE: use/show header navigation
36+
$conf["prsnl10_headernav"] = 1; //1: use/show header navigation
3737
$conf["prsnl10_headernav_location"] = ":wiki:navigation_header"; //page/article used to store the header navigation
3838

3939
//custom copyright notice
40-
$conf["prsnl10_copyright"] = true; //TRUE: use/show copyright notice
41-
$conf["prsnl10_copyright_default"] = true; //TRUE: use default copyright notice (if copyright notice is enabled at all)
40+
$conf["prsnl10_copyright"] = 1; //1: use/show copyright notice
41+
$conf["prsnl10_copyright_default"] = 1; //1: use default copyright notice (if copyright notice is enabled at all)
4242
$conf["prsnl10_copyright_location"] = ":wiki:copyright"; //page/article used to store a custom copyright notice
4343

4444
//custom footer content
45-
$conf["prsnl10_footer"] = false; //TRUE: use/show custom footer content
45+
$conf["prsnl10_footer"] = 0; //1: use/show custom footer content
4646
$conf["prsnl10_footer_location"] = ":wiki:footer"; //page/article used to store a custom footer content
4747

4848
//other stuff
49-
$conf["prsnl10_showpageinfo"] = false; //TRUE: show meta information about the current page (footer->tpl_pageinfo())
50-
$conf["prsnl10_hideadminlinksfromanon"] = false; //TRUE: hide admin links if client is not an authenticated user (including login link -> you have to call "example.com?do=login" manually)
51-
$conf["prsnl10_loaduserjs"] = false; //TRUE: prsnl10/user/user.js will be loaded
49+
$conf["prsnl10_showpageinfo"] = 0; //1: show meta information about the current page (footer->tpl_pageinfo())
50+
$conf["prsnl10_hideadminlinksfromanon"] = 0; //1: hide admin links if client is not an authenticated user (including login link -> you have to call "example.com?do=login" manually)
51+
$conf["prsnl10_loaduserjs"] = 0; //1: prsnl10/user/user.js will be loaded
5252

0 commit comments

Comments
 (0)