Update README.md

This commit is contained in:
Namhyeon Go 2018-05-31 01:37:46 +09:00 committed by GitHub
parent 50ca2efa33
commit 04970c5372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,10 +35,12 @@
## Example
```
<?php
loadHelper("allreporting");
loadHelper("string.utl");
$copyright = "";
$lines = read_file_by_line("./storage/copyright.txt");
$copyright = read_storage_file("copyright.txt", array(
"storage_type" => "terms"
));
$lines = explode_by_line($copyright);
foreach($lines as $line) {
$copyright .= "<p>" . $line . "</p>";
}