summaryrefslogtreecommitdiffstats
path: root/system/libraries/Driver.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-01-02 20:38:19 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-01-02 20:38:19 +0100
commit115db130ffee54296b33fc33f372c4ace9a3c497 (patch)
treeca2e96f3cde5da778419f1f0526b02b087dc3d07 /system/libraries/Driver.php
parent0defe5d33ee2633f377a109519ca818becc60f64 (diff)
parent35be644f6c912f6cdbe9392557ac38a9fbbc0416 (diff)
Merge pull request #615 from onigoetz/patch-1
Added a "break 2;" when overriding the Driver file
Diffstat (limited to 'system/libraries/Driver.php')
-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 2112a7ee6..4e8944311 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;
}
}
}