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-68bd83f01be2a758408959/] with [crayon-68bd83f01be34065981619/]
You should first test the existence of a file by file_exists(). [crayon-68bd83f01c0db980026938/] or simple solution…
[crayon-68bd83f01c234276540529/] Output the random string with the call below: [crayon-68bd83f01c239872369735/]
Note: from WordPress Use it like this: [crayon-68bd83f01c3bf918627019/] Code: [crayon-68bd83f01c3c4885021923/]
[crayon-68bd83f01c606110988892/] or [crayon-68bd83f01c60b100499344/]