commit | 35be644f6c912f6cdbe9392557ac38a9fbbc0416 | [log] [tgz] |
---|---|---|
author | Stéphane Goetz <onigoetz@onigoetz.ch> | Mon Oct 24 23:10:07 2011 +0300 |
committer | Stéphane Goetz <onigoetz@onigoetz.ch> | Mon Oct 24 23:10:07 2011 +0300 |
tree | 9a0bedb5334369401b1a0167c3dbed8acbfdb991 | |
parent | 3932ca18297195cf6b14e63281ba89a866ab42fa [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
diff --git a/system/libraries/Driver.php b/system/libraries/Driver.php index 8df137e..30204d0 100644 --- a/system/libraries/Driver.php +++ b/system/libraries/Driver.php
@@ -76,7 +76,7 @@ if (file_exists($filepath)) { include_once $filepath; - break; + break 2; } } }