示例#1
0
			'page_view'         => 0,
			'page_remote_addr'  => 0,
			'page_contents'     => 0,
			'prohibit_proxy'    => 0,
			'dnsbl'             => 1,
			'trackback'         => 1,
			'referer'           => 1,
			'multiple_post'     => 0,
			'bad-behavior'      => 0,
			'akismet'           => 0,
			'captcha'           => 0
	),
*/
//Utility::loadConfig('pukiwiki.ini.php', true);
foreach (array('pukiwiki.ini.php', 'auth.ini.php', 'server.ini.php') as $file) {
    $path = Utility::add_homedir($file);
    if (empty($path)) {
        continue;
    }
    require $path;
}
unset($file, $path);
defined('DATA_DIR') or define('DATA_DIR', DATA_HOME . 'wiki/');
// Latest wiki texts
defined('DIFF_DIR') or define('DIFF_DIR', DATA_HOME . 'diff/');
// Latest diffs
defined('BACKUP_DIR') or define('BACKUP_DIR', DATA_HOME . 'backup/');
// Backups
defined('CACHE_DIR') or define('CACHE_DIR', DATA_HOME . 'cache/');
// Some sort of caches
defined('UPLOAD_DIR') or define('UPLOAD_DIR', DATA_HOME . 'attach/');