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-679fd4fb7e9cc699453354/] with [crayon-679fd4fb7e9d0384577594/]
You should first test the existence of a file by file_exists(). [crayon-679fd4fb7eb11889953453/] or simple solution…
[crayon-679fd4fb7ebbb437200703/] Output the random string with the call below: [crayon-679fd4fb7ebbe816922710/]
Note: from WordPress Use it like this: [crayon-679fd4fb7ec67238167881/] Code: [crayon-679fd4fb7ec6a279597361/]
[crayon-679fd4fb7ed5c911508052/] or [crayon-679fd4fb7ed5f036607239/]