Skip to content

Commit 36fbc82

Browse files
committed
Edited bc-mapi-cache.php via GitHub
1 parent 237c407 commit 36fbc82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bc-mapi-cache.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Matthew Congrove <[email protected]>
1212
*
1313
* Permission is hereby granted, free of charge, to any person obtaining a
14-
* copy of this software and associated documentation files (the ÒSoftwareÓ),
14+
* copy of this software and associated documentation files (the �Software�),
1515
* to deal in the Software without restriction, including without limitation
1616
* the rights to use, copy, modify, alter, merge, publish, distribute,
1717
* sublicense, and/or sell copies of the Software, and to permit persons to
@@ -60,7 +60,7 @@ public function __construct($type = 'file', $time = 600, $location, $extension =
6060

6161
if(strtolower($type) == 'file')
6262
{
63-
$type == 'file';
63+
$type = 'file';
6464
} else if(strtolower($type) == 'memcache' || strtolower($type) == 'memcached') {
6565
$type = 'memcached';
6666

@@ -88,7 +88,7 @@ public function __construct($type = 'file', $time = 600, $location, $extension =
8888
*/
8989
public function get($key)
9090
{
91-
if(self::$type == 'flat')
91+
if(self::$type == 'file')
9292
{
9393
$file = self::$location . md5($key) . self::$extension;
9494

0 commit comments

Comments
 (0)