Public action logs commit (log.php)

Note: In a previous commit, I began making inc/mod/auth.php more modular with the check_login() function. Including it does NOT check mod login by default anymore like it does on vichan. You have to call check_login(). I've finally included it in inc/functions.php. If you have any custom pages that use inc/mod/auth.php, just including functions.php is enough now.

===================================
Also: backports 351375185e5 (early 404)
This commit is contained in:
8chan 2015-02-25 17:21:49 -08:00 committed by czaks
parent 6dd1420f91
commit 7911c374e8
10 changed files with 119 additions and 16 deletions

View file

@ -39,7 +39,6 @@ if(!getenv('TINYBOARD_PATH')) {
putenv('TINYBOARD_PATH=' . getcwd());
require 'inc/functions.php';
require 'inc/mod/auth.php';
$mod = Array(
'id' => -1,