File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -240,9 +240,9 @@ composer require phpFastCache/phpFastCache
240240use phpFastCache\CacheManager;
241241
242242// Setup File Path on your config files
243- CacheManager::setup(array(
243+ CacheManager::setDefaultConfig([
244244 "path" => '/var/www/phpfastcache.com/dev/tmp', // or in windows "C:/tmp/"
245- ) );
245+ ] );
246246
247247// In your class, function, you can call the Cache
248248$InstanceCache = CacheManager::getInstance('files');
@@ -280,8 +280,9 @@ echo implode('<br />', $CachedString->get());// Will echo your product list
280280
281281```
282282
283- ##### :floppy_disk : Legacy / Lazy Method (Without Composer)
284- * See the file examples/withoutComposer.php for more information.
283+ ##### :floppy_disk : Legacy implementation (Without Composer)
284+ PhpFastCache provide it's own autoload for legacy implementation.
285+ Please see the sample in docs/examples/withoutComposer.php for more information.
285286
286287#### :zap : Step 3: Enjoy ! Your website is now faster than lightning !
287288For curious developers, there is a lot of other examples available [ here] ( https://github.com/PHPSocialNetwork/phpfastcache/tree/final/docs/examples ) .
You can’t perform that action at this time.
0 commit comments