1timezoneco plugin for DokuWiki 2 3Set up a different timezone for your dokuwiki 4 5edit dokuwiki/public/inc/init.php 6 7Comment line 95: 8//date_default_timezone_set(@date_default_timezone_get()); 9 10Add lines: 11 12if(empty($conf['plugin']['timezoneco']['timezone'])){ 13 date_default_timezone_set(@date_default_timezone_get()); 14}else{ 15 date_default_timezone_set($conf['plugin']['timezoneco']['timezone']); 16} 17 18 19 20All documentation for this plugin can be found at 21https://github.com/drbeco/timezoneco 22 23If you install this plugin manually, make sure it is installed in 24lib/plugins/timezone/ - if the folder is called different it 25will not work! 26 27Please refer to http://www.dokuwiki.org/extensions for additional info 28on how to install extensions in DokuWiki. 29 30 31Published at: 32 33https://www.dokuwiki.org/plugin:timezoneco 34 35 36---- 37 38Copyright (C) Ruben Carlo Benante <rcb@beco.cc> 39 40This program is free software; you can redistribute it and/or modify 41it under the terms of the GNU General Public License as published by 42the Free Software Foundation; version 2 of the License 43 44This program is distributed in the hope that it will be useful, 45but WITHOUT ANY WARRANTY; without even the implied warranty of 46MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 47GNU General Public License for more details. 48 49See the LICENSING file for details 50