<commit_before><?php
echo "<h2>Our website is sick and has a cold :(</h2><br> Don't worry though! We've found the doctor and are working hard to nurse her back to health!<br><br><h3>Debugging</h3>";


$commands[] = 'cd ../hackingedu/libraries && pwd';
$commands[] = 'cd ../ && pwd';
$commands[] = 'ls .';
$commands[] = 'ls ./';
$commands[] = 'ls ../';
$commands[] = 'pwd';

foreach ($commands as $command) {
	echo "command: " . $command . " = " . exec($command) . '<br>';
}

// if (file_exists('/DELETEme.php')) {
// 	die('/DELETEme.php');
// } elseif (file_exists('../DELETEme.php')) {
// 	die("../DELETEme.php");
// } elseif (file_exists('../../DELETEme.php')) {
// 	die('../../DELETEme.php');
// } elseif (file_exists('../hackingedu/DELETEme.php')) {
// 	die('../hackingedu/DELETEme.php');
// } else {
// 	die("losing GRRRRR");
// }

// die(get_include_path() . PATH_SEPARATOR);
$config = './application/config.php';
$google_api_php_client = '../hackingedu/libraries/google-api-php-client/src/Google/Client.php';
if (file_exists($config)) {
	require_once './application/config.php';
} else {
	echo "You're missing your config file! :(";
}
// if (file_exists($google_api_php_client)) {
// 	set_include_path(get_include_path() . PATH_SEPARATOR . 'google-api-php-client/src'); # To get Access Tokens to work
// 	include_once './libraries/google-api-php-client/src/Google/Client.php';
// } else {


	set_include_path(get_include_path() . PATH_SEPARATOR . '../hackingedu/libraries/google-api-php-client/src'); # To get Access Tokens to work
	include_once $google_api_php_client;<commit_msg>debugging<commit_after><?php
echo "<h2>Our website is sick and has a cold :(</h2><br> Don't worry though! We've found the doctor and are working hard to nurse her back to health!<br><br><h3>Debugging</h3>";


$commands[] = 'cd ../hackingedu/libraries && pwd';
$commands[] = 'cd ../ && pwd';
$commands[] = 'ls .';
$commands[] = 'ls ./';
$commands[] = 'ls ../';
$commands[] = 'pwd';

foreach ($commands as $command) {
	echo "command: " . $command . " = " . exec($command) . '<br>';
}

// if (file_exists('/DELETEme.php')) {
// 	die('/DELETEme.php');
// } elseif (file_exists('../DELETEme.php')) {
// 	die("../DELETEme.php");
// } elseif (file_exists('../../DELETEme.php')) {
// 	die('../../DELETEme.php');
// } elseif (file_exists('../hackingedu/DELETEme.php')) {
// 	die('../hackingedu/DELETEme.php');
// } else {
// 	die("losing GRRRRR");
// }

// die(get_include_path() . PATH_SEPARATOR);
$config = './application/config.php';
$google_api_php_client = '../hackingedu/libraries/google-api-php-client/src/Google/Client.php';
echo file_exists($config) ? require_once './application/config.php' : "You're missing your config file! :(";
// if (file_exists($config)) {
// 	require_once './application/config.php';
// } else {
// 	echo "You're missing your config file! :(";
// }
// if (file_exists($google_api_php_client)) {
// 	set_include_path(get_include_path() . PATH_SEPARATOR . 'google-api-php-client/src'); # To get Access Tokens to work
// 	include_once './libraries/google-api-php-client/src/Google/Client.php';
// } else {


	set_include_path(get_include_path() . PATH_SEPARATOR . '../hackingedu/libraries/google-api-php-client/src'); # To get Access Tokens to work
	include_once $google_api_php_client;
{'fraction_non_alphanumeric': 0.2220873786407767, 'fraction_numerical': 0.0024271844660194173, 'mean_word_length': 3.806122448979592, 'pattern_counts': {'":': 0, '<': 21, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '214594', 'n_tokens_mistral': 1193, 'n_tokens_neox': 1170, 'n_words': 226}