<commit_before><?php

//$api_tiki        = 'pear';
$api_tiki       = 'adodb';
$db_tiki     = 'mysql';
$dbversion_tiki = '1.8';
$host_tiki   = 'localhost';
$user_tiki   = 'root';
$pass_tiki   = '';
$dbs_tiki    = 'tiki';
$tikidomain  = '';

/*
CVS Developers: Do not change any of the above.
Instead, create a file, called local.php, containing any of
the variables listed above that are different for your 
development environment.  This will protect you from 
accidentally committing your username/password to CVS!

For example:

cd <tiki_dir>/db
cat >local.php <<EOF
<?php
\$api_tiki        = 'pear';
\$db_tiki     = 'mysql';
\$dbversion_tiki = 'mysql3';
\$host_tiki   = 'myhost';
\$user_tiki   = 'myuser';
\$pass_tiki   = '<PASSWORD>';
\$dbs_tiki    = 'mytiki';
?>
EOF

Site admins: you can use multiple virtualhosts with the same documentroot
just changing database and $tikidomain that is used to split cache directories
(template_c and modules/cache). For example a local.php file :

$host_tiki   = 'localhost';
$user_tiki   = 'root';
$pass_tiki   = '';

$host_map = array(
	'feu.org' = array(
		'dbs_tiki'    => 'tiki_cvs',
		'tikidomain'  => 'feu',
	),
	
	'localis.org' = array(
		'dbs_tiki'    => 'tiki_localis',
		'tikidomain'  => 'localis',
	),
);

if (isset($host_map[$HTTP_HOST])) {
	extract($host_map[$HTTP_HOST]);
}

*/
$file = dirname(__FILE__). '/local.php';

if (file_exists($file)) {
	require_once ($file);
}

if (preg_match('/^adodb$/i', $api_tiki)) {
	TikiSetup::prependIncludePath('lib/adodb');
	error_reporting (E_ALL);       # show any error messages triggered
	define('ADODB_FORCE_NULLS', 1);<commit_msg>hmm, not sure, but I think that change was missing last time<commit_after><?php

//$api_tiki        = 'pear';
$api_tiki       = 'adodb';
$db_tiki     = 'mysql';
$dbversion_tiki = '1.8';
$host_tiki   = 'localhost';
$user_tiki   = 'root';
$pass_tiki   = '';
$dbs_tiki    = 'tiki';
$tikidomain  = '';

/*
CVS Developers: Do not change any of the above.
Instead, create a file, called local.php, containing any of
the variables listed above that are different for your 
development environment.  This will protect you from 
accidentally committing your username/password to CVS!

For example:

cd <tiki_dir>/db
cat >local.php <<EOF
<?php
\$api_tiki        = 'pear';
\$db_tiki     = 'mysql';
\$dbversion_tiki = 'mysql3';
\$host_tiki   = 'myhost';
\$user_tiki   = 'myuser';
\$pass_tiki   = '<PASSWORD>';
\$dbs_tiki    = 'mytiki';
?>
EOF

Site admins: you can use multiple virtualhosts with the same documentroot
just changing database and $tikidomain that is used to split cache directories
(template_c and modules/cache). For example a local.php file :

$host_tiki   = 'localhost';
$user_tiki   = 'root';
$pass_tiki   = '';

$host_map = array(
	'feu.org' = array(
		'dbs_tiki'    => 'tiki_cvs',
		'tikidomain'  => 'feu',
	),
	
	'localis.org' = array(
		'dbs_tiki'    => 'tiki_localis',
		'tikidomain'  => 'localis',
	),
);

if (isset($host_map[$HTTP_HOST])) {
	extract($host_map[$HTTP_HOST]);
}

*/
$file = dirname(__FILE__). '/local.php';

if (file_exists($file)) {
	require_once ($file);
}

if (preg_match('/^adodb$/i', $api_tiki)) {
	TikiInit::prependIncludePath('lib/adodb');
	error_reporting (E_ALL);       # show any error messages triggered
	define('ADODB_FORCE_NULLS', 1);
{'fraction_non_alphanumeric': 0.1585956416464891, 'fraction_numerical': 0.002421307506053269, 'mean_word_length': 4.007575757575758, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5673948', 'n_tokens_mistral': 1303, 'n_tokens_neox': 1249, 'n_words': 316}