Skip to content

Commit 7725a2d

Browse files
committed
fix: add necessary comment to the preload file
1 parent f1141f2 commit 7725a2d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

preload.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
* How to Use:
2222
* 0. Copy this file to your project root folder.
2323
* 1. Set the $paths property of the preload class below.
24-
* 2. Set opcache.preload in php.ini.
24+
* 2. Remove or comment out debug output (the `echo` inside load()),
25+
* preloading script should not produce output.
26+
* 3. Set opcache.preload in php.ini.
2527
* php.ini:
2628
* opcache.preload=/path/to/preload.php
2729
*/

0 commit comments

Comments
 (0)