<commit_before><?php

/**
 * @copyright  <NAME>
 * @license    http://www.makoframework.com/license
 */

$requestURI   = $_SERVER['REQUEST_URI'];
$documentRoot = $_SERVER['DOCUMENT_ROOT'];

// Strip the query stringso that files can be served even if they have a query string
// This can be useful for versioning assets such as images, CSS and JavaScript

if (isset($_SERVER['QUERY_STRING']))
{
	$requestURI = substr($requestURI, 0, strrpos($requestURI, $_SERVER['QUERY_STRING']) - 1);
}

// Check if the file exists

if($requestURI !== '/' && file_exists($documentRoot . '/' . $requestURI))
{
	return false; // serve the requested resource as-is.
}

// File doesn't exist. Route request to index.php

require $documentRoot . '/index.php';<commit_msg>Fixed code style and typo<commit_after><?php

/**
 * @copyright  <NAME>
 * @license    http://www.makoframework.com/license
 */

$requestURI   = $_SERVER['REQUEST_URI'];
$documentRoot = $_SERVER['DOCUMENT_ROOT'];

// Strip the query string so that files can be served even if they have a query string
// This can be useful for versioning assets such as images, CSS and JavaScript

if(isset($_SERVER['QUERY_STRING']))
{
	$requestURI = substr($requestURI, 0, strrpos($requestURI, $_SERVER['QUERY_STRING']) - 1);
}

// Check if the file exists

if($requestURI !== '/' && file_exists($documentRoot . '/' . $requestURI))
{
	return false; // serve the requested resource as-is.
}

// File doesn't exist. Route request to index.php

require $documentRoot . '/index.php';
{'fraction_non_alphanumeric': 0.14927344782034346, 'fraction_numerical': 0.002642007926023778, 'mean_word_length': 4.242214532871972, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '119092', 'n_tokens_mistral': 468, 'n_tokens_neox': 459, 'n_words': 145}