summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/helpers/remote.php2
-rw-r--r--system/libraries/drivers/Cache/Xcache.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/system/helpers/remote.php b/system/helpers/remote.php
index d34899ec..e6edb9c5 100644
--- a/system/helpers/remote.php
+++ b/system/helpers/remote.php
@@ -11,7 +11,7 @@ class remote_Core {
public static function status($url)
{
- if ( ! valid::url($url, 'http'))
+ if ( ! valid::url($url))
return FALSE;
// Get the hostname and path
diff --git a/system/libraries/drivers/Cache/Xcache.php b/system/libraries/drivers/Cache/Xcache.php
index 4c08405e..67619833 100644
--- a/system/libraries/drivers/Cache/Xcache.php
+++ b/system/libraries/drivers/Cache/Xcache.php
@@ -48,9 +48,9 @@ class Cache_Xcache_Driver extends Cache_Driver {
foreach ($keys as $key)
{
- if (xcache_isset($id))
+ if (xcache_isset($key))
{
- $items[$key] = xcache_get($id);
+ $items[$key] = xcache_get($key);
}
else
{