diff --git a/src/Illuminate/Config/Repository.php b/src/Illuminate/Config/Repository.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Config/Repository.php
+++ b/src/Illuminate/Config/Repository.php
@@ -313,6 +313,16 @@ class Repository extends NamespacedItemResolver implements ArrayAccess {
 	{
 		return $this->loader;
 	}
+	
+	/**
+	 * Set the loader implementation.
+	 *
+	 * @return Illuminate\Config\LoaderInterface
+	 */
+	public function setLoader(LoaderInterface $loader)
+	{
+		$this->loader = $loader;
+	}
 
 	/**
 	 * Get the current configuration environment.
@@ -388,4 +398,4 @@ class Repository extends NamespacedItemResolver implements ArrayAccess {
 		$this->set($key, null);
 	}
 
-}
\ No newline at end of file
+}
Allow for setting config loader at runtime.