summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorStéphane Goetz <onigoetz@onigoetz.ch>2011-10-24 22:10:07 +0200
committerStéphane Goetz <onigoetz@onigoetz.ch>2011-10-24 22:10:07 +0200
commit35be644f6c912f6cdbe9392557ac38a9fbbc0416 (patch)
tree9a0bedb5334369401b1a0167c3dbed8acbfdb991 /system
parent3932ca18297195cf6b14e63281ba89a866ab42fa (diff)
Added a "break 2;", When overriding the cache file in an other folder, it would try to load all files corresponding to this name and create an error because of a double file loading
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Driver.php b/system/libraries/Driver.php
index 8df137e74..30204d075 100644
--- a/system/libraries/Driver.php
+++ b/system/libraries/Driver.php
@@ -76,7 +76,7 @@ class CI_Driver_Library {
if (file_exists($filepath))
{
include_once $filepath;
- break;
+ break 2;
}
}
}