<commit_before><?php
$CONFIG = array (
	"appstoreenabled" => false,
	'apps_paths' =>
		array (
			0 =>
				array (
					'path' => OC::$SERVERROOT.'/apps',
					'url' => '/apps',
					'writable' => true,
				),
			1 =>
				array (
					'path' => OC::$SERVERROOT.'/apps2',
					'url' => '/apps2',
					'writable' => false,
				)
		),
);

if(substr(strtolower(PHP_OS), 0, 3) == "win") {
	$CONFIG['openssl'] = array( 'config' => OC::$SERVERROOT.'/tests/data/openssl.cnf');
}<commit_msg>Do not add apps2/ directory if it does not exist<commit_after><?php
$CONFIG = [
	'appstoreenabled' => false,
	'apps_paths' => [
		[
			'path'		=> OC::$SERVERROOT . '/apps',
			'url'		=> '/apps',
			'writable'	=> true,
		],
	],
];

if (is_dir(OC::$SERVERROOT.'/apps2')) {
	$CONFIG['apps_paths'][] = [
		'path' => OC::$SERVERROOT . '/apps2',
		'url' => '/apps2',
		'writable' => false,
	];
}

if (substr(strtolower(PHP_OS), 0, 3) === 'win') {
	$CONFIG['openssl'] = ['config' => OC::$SERVERROOT . '/tests/data/openssl.cnf'];
}
{'fraction_non_alphanumeric': 0.25472636815920396, 'fraction_numerical': 0.011940298507462687, 'mean_word_length': 3.26271186440678, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1428000', 'n_tokens_mistral': 465, 'n_tokens_neox': 419, 'n_words': 71}