summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-10-09 09:36:04 +0200
committerAndrey Andreev <narf@bofh.bg>2012-10-09 09:36:04 +0200
commit70b789990813b5db6d05dc25e2a0ee46008ad00e (patch)
treeb99b0fe1e70398b3e9f587275f0f70cfbc75e613 /system/database/DB_driver.php
parent509885932928b34f22091b59b014ec16c52b4bbe (diff)
Fix issue #1862
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r--system/database/DB_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index b12042bde..ea2a53eb2 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1363,7 +1363,7 @@ abstract class CI_DB_driver {
$call['file'] = str_replace('\\', '/', $call['file']);
}
- if (isset($call['file'], $call['class']) && strpos($call['file'], $basepath.'database') === FALSE && strpos($call['class'], 'Loader') !== FALSE)
+ if (isset($call['file'], $call['class']) && strpos($call['file'], BASEPATH.'database') === FALSE && strpos($call['class'], 'Loader') !== FALSE)
{
// Found it - use a relative path for safety
$message[] = 'Filename: '.str_replace(array(APPPATH, BASEPATH), '', $call['file']);