Skip to content

Commit bc085a8

Browse files
committed
Update README.md
1 parent 2a7ca9e commit bc085a8

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

README.md

+13-9
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,20 @@ Installation
1111

1212
- Copy the library folder over your library folder
1313
- Connect the plugin to your front controller
14-
<?php
15-
Zend_Controller_Front::getInstance()->registerPlugin(new Tf_Controller_Plugin_Superlumibnal());
14+
15+
<?php
16+
Zend_Controller_Front::getInstance()->registerPlugin(new Tf_Controller_Plugin_Superlumibnal());
17+
18+
1619
- The cache is stored in path stored in ZF_CLASS_CACHE constant.
1720
- So ideally you define it in your index.php file
18-
<?php
19-
define('ZF_CLASS_CACHE', APPLICATION_PATH . '/cache.php');
20-
if (file_exists(ZF_CLASS_CACHE)) {
21-
@include ZF_CLASS_CACHE;
22-
}
23-
21+
22+
<?php
23+
define('ZF_CLASS_CACHE', APPLICATION_PATH . '/cache.php');
24+
if (file_exists(ZF_CLASS_CACHE)) {
25+
include ZF_CLASS_CACHE;
26+
}
27+
2428
- The cache is generated on every request, so you may conditionally add/remove it based on anything you like - e.g.: based on request params, time, server, etc.
25-
- BEWARE! Any request generating the cache will be VERY SLOW. To feel the speed, disable the plugin and leave the cache file.
29+
- **BEWARE!** Any request generating the cache will be VERY SLOW. To feel the speed, disable the plugin and leave the cache file.
2630

0 commit comments

Comments
 (0)