PukiWiki Decentralization Kit
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
xpdk2.php
xpdk2_config.php
xpdk2_for_github.png

README.md

xpdk2

PukiWiki Decentralization Kit


  • INSTALLATION
  1. MASTER & SLAVES: edit xpdk2_config.php
  2. MASTER & SLAVES: copy xpdk2.php and xpdk2_config.php to PukiWiki/lib/
  3. MASTER: create and chmod(read write execute) XPDK2_DATAPATH directory
  4. MASTER & SLAVES: include xpdk2.php on the last of 'Include subroutines' in PukiWiki/lib/pukiwiki.php
	require_once( LIB_DIR . 'xpdk2.php' );
  1. MASTER: xpdk2_sync(TRUE); before page_write() in PukiWiki/plugin/edit.inc.php
	if( xpdk2_sync( TRUE ) )
		page_write( ... );
  1. SLAVE: disable digest check function in plugin_edit_write() in PukiWiki/plugin/edit.inc.php