<commit_before><?php

namespace Marty;

use \mako\Config;
use \Smarty;

class MartyConfig
{
	const SMARTY_EXTENSION = ".smarty";
	const SMARTY_EXTENSION_FULL = ".smarty.php";

	/**
	 * @var boolean
	 */
	private static $initialized = false;

	/**
	 * @var string
	 */
	private static $template_dir;

	/**
	 * @var string
	 */
	private static $compile_dir;

	/**
	 * @var string
	 */
	private static $cache_dir;

	/**
	 * @var string
	 */
	private static $config_dir;

	/**
	 * @var int
	 */
	private static $caching;

	/**
	 * @var boolean
	 */
	private static $compile_check;

	/**
	 * @var int
	 */
	private static $cache_lifetime;

	/**
	 * @var string
	 */
	private static $cache_id = null;

	private function __construct()
	{
	}

	private static function init()
	{
		static::$template_dir = Config::get("marty::smarty.templateDir");
		static::$compile_dir = Config::get("marty::smarty.cacheDir");
		static::$cache_dir = Config::get("marty::smarty.cacheDir");
		static::$config_dir = Config::get("marty::smarty.configDir");
		static::$caching = Config::get("marty::smarty.caching");<commit_msg>Bugfix: Marty used cache-dir instead of compile-dir.<commit_after><?php

namespace Marty;

use \mako\Config;
use \Smarty;

class MartyConfig
{
	const SMARTY_EXTENSION = ".smarty";
	const SMARTY_EXTENSION_FULL = ".smarty.php";

	/**
	 * @var boolean
	 */
	private static $initialized = false;

	/**
	 * @var string
	 */
	private static $template_dir;

	/**
	 * @var string
	 */
	private static $compile_dir;

	/**
	 * @var string
	 */
	private static $cache_dir;

	/**
	 * @var string
	 */
	private static $config_dir;

	/**
	 * @var int
	 */
	private static $caching;

	/**
	 * @var boolean
	 */
	private static $compile_check;

	/**
	 * @var int
	 */
	private static $cache_lifetime;

	/**
	 * @var string
	 */
	private static $cache_id = null;

	private function __construct()
	{
	}

	private static function init()
	{
		static::$template_dir = Config::get("marty::smarty.templateDir");
		static::$compile_dir = Config::get("marty::smarty.compileDir");
		static::$cache_dir = Config::get("marty::smarty.cacheDir");
		static::$config_dir = Config::get("marty::smarty.configDir");
		static::$caching = Config::get("marty::smarty.caching");
{'fraction_non_alphanumeric': 0.16540008940545373, 'fraction_numerical': 0.0, 'mean_word_length': 3.721518987341772, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '740733', 'n_tokens_mistral': 829, 'n_tokens_neox': 766, 'n_words': 163}