Skip to content

A fork of Kokonotsuba meant to work flawlessly with a LAMP stack and PHP 8

License

Notifications You must be signed in to change notification settings

RealAngeleno/kokonotsuba

 
 

Repository files navigation

Kokonotsuba

On creating new instances

Create the database, modify the configuration file, run install.php, delete install.php, make the first post.

You must change the data directory (default ./dat) to a non-indexable, non-web directory, or sensitive data will be leaked. Alternatively, you can deny access to the directory using web server configurations.

On centralizing a multi-board instance for ease of life

One thing that futaba-style boards lose to vichan is that often, they are unable to be centralized on a server. This means that having 3-4 boards may mean you have to edit 3-4 different instances of the same software. Making updating a pain. For koko, this doesnt have to be.

To centralize your koko instance, please edit these lines in;

koko.php Remove all lines. Add:

<?php require_once '/srv/locationofscript/koko.php';?>

config.php Remove

define("ROOTPATH", dirname(__FILE__).DIRECTORY_SEPARATOR);

Add

define("ROOTPATH", '/srv/locationofscript/');

This also has the added benefit of moving the backend files from being viewable by the user. The same can be done with the dat directory by editing it to be in a non-indexable directory, such as /srv/. Example:

define("STORAGE_PATH", '/srv/boarddata/');

About

A fork of Kokonotsuba meant to work flawlessly with a LAMP stack and PHP 8

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 78.8%
  • JavaScript 13.4%
  • Smarty 5.2%
  • Perl 2.6%