foreach (glob("assets/lib/*.php") as $filename) {
include $filename;
}
Other than caching every hour, or every week, you may cache according to file data.…
To get host url of current server simply replace application\config\config.php [crayon-6932fc232cdfe376319127/] with [crayon-6932fc232ce01053028374/]
You should first test the existence of a file by file_exists(). [crayon-6932fc232cfd8680351138/] or simple solution…
[crayon-6932fc232d14b148067423/] Output the random string with the call below: [crayon-6932fc232d151903518319/]
Note: from WordPress Use it like this: [crayon-6932fc232d275715410952/] Code: [crayon-6932fc232d27a815289162/]
[crayon-6932fc232d4a8300770320/] or [crayon-6932fc232d4ac546843878/]