public static function setConfig($POST)
	{
		$handle = fopen(dirname(dirname(__FILE__)) . '/../config.local.php', "w+");
		$text = "<?php\n\$config = array(\n'db_host' => '".$POST['db_host']."',\n'db_name' => '".strtolower($POST['db_name'])."',\n'db_login' => '".$POST['db_login']."',\n'db_password' => '".$POST['db_password']."',\n);
		 ";
		fwrite($handle, $text);
		fclose($handle);
		require_once(dirname(dirname(__FILE__)) . '/../config.local.php');
	}