removed cache and session factories. moved cache item management into cache class and out of drivers. tweaked auth class.
This commit is contained in:
9
system/cache/driver/file.php
vendored
9
system/cache/driver/file.php
vendored
@@ -2,13 +2,6 @@
|
||||
|
||||
class File implements \System\Cache\Driver {
|
||||
|
||||
/**
|
||||
* All of the loaded cache items.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $items = array();
|
||||
|
||||
/**
|
||||
* Determine if an item exists in the cache.
|
||||
*
|
||||
@@ -43,7 +36,7 @@ class File implements \System\Cache\Driver {
|
||||
return null;
|
||||
}
|
||||
|
||||
return $this->items[$key] = unserialize(substr($cache, 10));
|
||||
return unserialize(substr($cache, 10));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user